From d639a375bc2a2dff29105a9c934b3ddf4559f939 Mon Sep 17 00:00:00 2001 From: clowwindy Date: Thu, 19 Jun 2014 10:11:48 +0800 Subject: [PATCH] remove fd logging --- shadowsocks/tcprelay.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/shadowsocks/tcprelay.py b/shadowsocks/tcprelay.py index 10f73d6..ddc79a6 100644 --- a/shadowsocks/tcprelay.py +++ b/shadowsocks/tcprelay.py @@ -589,9 +589,9 @@ class TCPRelay(object): def _handle_events(self, events): for sock, fd, event in events: - if sock: - logging.debug('fd %d %s', fd, - eventloop.EVENT_NAMES.get(event, event)) + # if sock: + # logging.debug('fd %d %s', fd, + # eventloop.EVENT_NAMES.get(event, event)) if sock == self._server_socket: if event & eventloop.POLL_ERR: # TODO