Lower logging level for connection error messages in I2PDialer #3

Merged
PeterSurda merged 1 commits from lee.miller/MiNode:log into v0.3 2024-05-07 07:27:32 +02:00
Showing only changes of commit c9a3877b92 - Show all commits

View File

@ -37,7 +37,7 @@ class I2PDialer(I2PThread):
self._send(b'HELLO VERSION MIN=3.0 MAX=3.3\n') self._send(b'HELLO VERSION MIN=3.0 MAX=3.3\n')
self.version_reply = self._receive_line().split() self.version_reply = self._receive_line().split()
if b'RESULT=OK' not in self.version_reply: 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.success = False
self._send( self._send(
@ -45,6 +45,5 @@ class I2PDialer(I2PThread):
+ self.destination + b'\n') + self.destination + b'\n')
reply = self._receive_line().split(b' ') reply = self._receive_line().split(b' ')
if b'RESULT=OK' not in reply: if b'RESULT=OK' not in reply:
logging.warning( logging.debug('Error while connecting to %s', self.destination)
'Error while connecting to %s', self.destination)
self.success = False self.success = False