From dbe23e90ce9190a9b6e76be51b0ba2c105706a97 Mon Sep 17 00:00:00 2001 From: TheKysek Date: Wed, 17 Aug 2016 18:08:23 +0200 Subject: [PATCH] Remove debug messages about sent and received bytes --- src/connection.py | 3 --- 1 file changed, 3 deletions(-) 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