remove fd logging

This commit is contained in:
clowwindy 2014-06-19 10:11:48 +08:00
parent d949d11b28
commit d639a375bc

View file

@ -589,9 +589,9 @@ class TCPRelay(object):
def _handle_events(self, events): def _handle_events(self, events):
for sock, fd, event in events: for sock, fd, event in events:
if sock: # if sock:
logging.debug('fd %d %s', fd, # logging.debug('fd %d %s', fd,
eventloop.EVENT_NAMES.get(event, event)) # eventloop.EVENT_NAMES.get(event, event))
if sock == self._server_socket: if sock == self._server_socket:
if event & eventloop.POLL_ERR: if event & eventloop.POLL_ERR:
# TODO # TODO