From 9790a323c12f899e6839e7368cef82840766fe6b Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Fri, 1 Jul 2022 21:10:28 +0300 Subject: polaris/protocol: change some log levels --- src/polaris/protocol.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/polaris/protocol.py b/src/polaris/protocol.py index 6f71e98..ffdcee3 100644 --- a/src/polaris/protocol.py +++ b/src/polaris/protocol.py @@ -804,7 +804,7 @@ class UDPConnection(threading.Thread, ConnectionStatusListener): self.outgoing_time = 0 self.outgoing_time_1st = 0 - self._logger.info('_cleanup: done') + self._logger.debug('_cleanup: done') def set_address(self, addr: Union[IPv4Address, IPv6Address], port: int): with self._addr_lock: @@ -1038,12 +1038,12 @@ class UDPConnection(threading.Thread, ConnectionStatusListener): handler = self.response_handlers[seq] if handler.validate(incoming_message): - self._logger.info(f'{lpfx} response OK') + self._logger.debug(f'{lpfx} response OK') handler.phase = MessagePhase.DONE callback_value = incoming_message self._incr_outseq() else: - self._logger.info(f'{lpfx} response is INVALID') + self._logger.debug(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