From a8cf405f15ef3edc93d9e58a08e879bc56b95ace Mon Sep 17 00:00:00 2001 From: sanjayk03-dev Date: Thu, 4 Apr 2024 11:51:00 +0530 Subject: [PATCH] logging state --- src/py/bbctrl/State.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/py/bbctrl/State.py b/src/py/bbctrl/State.py index d29c27e..a02deb4 100644 --- a/src/py/bbctrl/State.py +++ b/src/py/bbctrl/State.py @@ -283,6 +283,8 @@ class State(object): def config(self, code, value): # Set machine variables via mach, others directly + self.log.info('update state using code %s' % code) + self.log.info('update state using value %s' % value) if code in self.machine_var_set: self.ctrl.mach.set(code, value) else: self.set(code, value)