diff --git a/src/connection.py b/src/connection.py index 44bc642..4ecec0f 100644 --- a/src/connection.py +++ b/src/connection.py @@ -68,12 +68,10 @@ class Connection(threading.Thread): if self.status == 'fully_established': data = self.s.recv(4096) self.buffer_receive += data - logging.debug('Received {} bytes from {}:{}'.format(len(data), self.host, self.port)) if data and self.buffer_receive < self.next_message_size: continue else: data = self.s.recv(self.next_message_size - len(self.buffer_receive)) - logging.debug('Received {} bytes from {}:{}'.format(len(data), self.host, self.port)) self.buffer_receive += data except ssl.SSLWantReadError: pass @@ -129,7 +127,6 @@ class Connection(threading.Thread): try: amount = self.s.send(self.buffer_send) self.buffer_send = self.buffer_send[amount:] - logging.debug('Sent {} bytes to {}:{}'.format(amount, self.host, self.port)) except (BlockingIOError, ssl.SSLWantWriteError): pass