From 35bd5ac7196c4b65de43fc755c3dd724d814703a Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Sat, 14 Sep 2019 05:26:24 +0300 Subject: logging fix --- kvmd/plugins/msd/relay.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kvmd/plugins') 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 -- cgit v1.2.3