From c9a3877b9248d2a1ec5d02b773dc1b2d72b247ee Mon Sep 17 00:00:00 2001 From: Lee Miller Date: Sun, 24 Dec 2023 01:42:24 +0200 Subject: [PATCH] Lower logging level for connection error messages in I2PDialer --- minode/i2p/dialer.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/minode/i2p/dialer.py b/minode/i2p/dialer.py index 8de42e5..a426fcb 100644 --- a/minode/i2p/dialer.py +++ b/minode/i2p/dialer.py @@ -37,7 +37,7 @@ class I2PDialer(I2PThread): self._send(b'HELLO VERSION MIN=3.0 MAX=3.3\n') self.version_reply = self._receive_line().split() if b'RESULT=OK' not in self.version_reply: - logging.warning('Error while connecting to %s', self.destination) + logging.debug('Error while connecting to %s', self.destination) self.success = False self._send( @@ -45,6 +45,5 @@ class I2PDialer(I2PThread): + self.destination + b'\n') reply = self._receive_line().split(b' ') if b'RESULT=OK' not in reply: - logging.warning( - 'Error while connecting to %s', self.destination) + logging.debug('Error while connecting to %s', self.destination) self.success = False