From b550f96c1eba0c7f7b1565bcad65fea111bface1 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Fri, 1 Jul 2022 21:15:09 +0300 Subject: polaris: change some log message levels --- src/polaris/kettle.py | 2 +- src/polaris/protocol.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/polaris/kettle.py b/src/polaris/kettle.py index 1b995fd..6f76279 100644 --- a/src/polaris/kettle.py +++ b/src/polaris/kettle.py @@ -90,7 +90,7 @@ class DeviceDiscover(threading.Thread, zeroconf.ServiceListener): # TODO what to do here?! def run(self): - self._logger.info('starting zeroconf service browser') + self._logger.debug('starting zeroconf service browser') ip_version = zeroconf.IPVersion.V4Only if self._only_ipv4 else zeroconf.IPVersion.All self._zc = zeroconf.Zeroconf(ip_version=ip_version) self._sb = zeroconf.ServiceBrowser(self._zc, "_syncleo._udp.local.", self) diff --git a/src/polaris/protocol.py b/src/polaris/protocol.py index 3a171f8..680b6e1 100644 --- a/src/polaris/protocol.py +++ b/src/polaris/protocol.py @@ -1043,7 +1043,7 @@ class UDPConnection(threading.Thread, ConnectionStatusListener): callback_value = incoming_message self._incr_outseq() else: - self._logger.debug(f'{lpfx} response is INVALID') + self._logger.warning(f'{lpfx} response is INVALID') # It seems that we've received an incoming CmdMessage or PingMessage with the same seqno that our outgoing # message had. Bad, but what can I say, this is quick-and-dirty made UDP based protocol and this sort of -- cgit v1.2.3