summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2022-07-01 21:10:28 +0300
committerEvgeny Zinoviev <me@ch1p.io>2022-07-01 21:10:28 +0300
commit9790a323c12f899e6839e7368cef82840766fe6b (patch)
treeb6b8793bfd986d5792a452f7a571a2df7262d454
parentbe0a97bb54d1d96c4b60853b7e6db19564162dcc (diff)
polaris/protocol: change some log levels
-rw-r--r--src/polaris/protocol.py6
1 files 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