diff options
author | Martin Braun <martin.braun@ettus.com> | 2018-03-13 16:16:29 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2018-03-13 16:19:03 -0700 |
commit | 86b95486ed6d68e2772d79f20feddbef5439981b (patch) | |
tree | afa04a57f2d77f6b83e210b82f282fa5d18b2236 | |
parent | 398d7bb587d9e91d02400cbf022344be3ac26bbb (diff) | |
download | uhd-86b95486ed6d68e2772d79f20feddbef5439981b.tar.gz uhd-86b95486ed6d68e2772d79f20feddbef5439981b.tar.bz2 uhd-86b95486ed6d68e2772d79f20feddbef5439981b.zip |
mpm: Add INFO log statements on MPM reset and component update
-rw-r--r-- | mpm/python/usrp_mpm/periph_manager/base.py | 1 | ||||
-rw-r--r-- | mpm/python/usrp_mpm/rpc_server.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/mpm/python/usrp_mpm/periph_manager/base.py b/mpm/python/usrp_mpm/periph_manager/base.py index 60eaee244..f2b2aeb37 100644 --- a/mpm/python/usrp_mpm/periph_manager/base.py +++ b/mpm/python/usrp_mpm/periph_manager/base.py @@ -552,6 +552,7 @@ class PeriphManagerBase(object): f.write(data) update_func = \ getattr(self, self.updateable_components[id_str]['callback']) + self.log.info("Updating component `%s'", id_str) update_func(filepath, metadata) return True diff --git a/mpm/python/usrp_mpm/rpc_server.py b/mpm/python/usrp_mpm/rpc_server.py index a983b6dcf..e1803918d 100644 --- a/mpm/python/usrp_mpm/rpc_server.py +++ b/mpm/python/usrp_mpm/rpc_server.py @@ -453,6 +453,7 @@ class MPMServer(RPCServer): """ Reset the Peripheral Manager for this RPC server. """ + self.log.info("Resetting peripheral manager.") self.periph_manager.tear_down() self.periph_manager = None self.periph_manager = self._mgr_generator() |