diff options
author | Devaev Maxim <[email protected]> | 2019-09-30 05:59:38 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2019-09-30 05:59:38 +0300 |
commit | f29c5296cb9b5213574e657fcd151a232f4b2170 (patch) | |
tree | edb849a189f2a96a0c66c40a26fd4624a2741539 /kvmd | |
parent | ce6cb3057a477fa11ab13e732c9589aab6efcc69 (diff) |
error -> debug
Diffstat (limited to 'kvmd')
-rw-r--r-- | kvmd/plugins/hid/otg/hid.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kvmd/plugins/hid/otg/hid.py b/kvmd/plugins/hid/otg/hid.py index 2d8b9245..bbad8f68 100644 --- a/kvmd/plugins/hid/otg/hid.py +++ b/kvmd/plugins/hid/otg/hid.py @@ -130,7 +130,7 @@ class DeviceProcess(multiprocessing.Process): # pylint: disable=too-many-instan self.__name, written, len(report)) except Exception as err: if isinstance(err, OSError) and err.errno == errno.EAGAIN: # pylint: disable=no-member - logger.error("HID-%s busy/unplugged (write): %s: %s", # TODO debug + logger.debug("HID-%s busy/unplugged (write): %s: %s", self.__name, type(err).__name__, err) else: logger.exception("Can't write report to HID-%s", self.__name) @@ -138,7 +138,7 @@ class DeviceProcess(multiprocessing.Process): # pylint: disable=too-many-instan retries -= 1 if retries: - logger.error("HID-%s write retries left: %d", self.__name, retries) # TODO debug + logger.debug("HID-%s write retries left: %d", self.__name, retries) time.sleep(self.__write_retries_delay) self._close_device() @@ -165,7 +165,7 @@ class DeviceProcess(multiprocessing.Process): # pylint: disable=too-many-instan self.__online_shared.value = 1 return True else: - logger.error("HID-%s is busy/unplugged (select)", self.__name) # TODO debug + logger.debug("HID-%s is busy/unplugged (select)", self.__name) except Exception as err: logger.error("Can't select() HID-%s: %s: %s", self.__name, type(err).__name__, err) self._close_device() |