summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-09-14 05:26:24 +0300
committerDevaev Maxim <[email protected]>2019-09-14 05:26:24 +0300
commit35bd5ac7196c4b65de43fc755c3dd724d814703a (patch)
tree3ee24b3f3275a2c1b6c6b16c9a71b2e696517ff0
parent67f13df5b86d0abedc7082faf71047e2d74f9959 (diff)
logging fix
-rw-r--r--kvmd/plugins/msd/relay.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmd/plugins/msd/relay.py b/kvmd/plugins/msd/relay.py
index 8c9285de..e807c24b 100644
--- a/kvmd/plugins/msd/relay.py
+++ b/kvmd/plugins/msd/relay.py
@@ -259,7 +259,7 @@ class Plugin(BaseMsd): # pylint: disable=too-many-instance-attributes
gpio.write(self.__target_pin, True)
raise
self.__on_kvm = True
- get_logger().info("MSD switched to KVM: %s", self._device_info)
+ get_logger(0).info("MSD switched to KVM: %s", self._device_info)
state = self.get_state()
return state
@@ -280,7 +280,7 @@ class Plugin(BaseMsd): # pylint: disable=too-many-instance-attributes
gpio.write(self.__target_pin, True)
self.__on_kvm = False
- get_logger().info("MSD switched to Server")
+ get_logger(0).info("MSD switched to Server")
state = self.get_state()
return state