diff options
author | MaZderMind <github@mazdermind.de> | 2016-01-06 12:06:03 +0100 |
---|---|---|
committer | MaZderMind <github@mazdermind.de> | 2016-01-06 12:06:03 +0100 |
commit | 0520085957a85efef56b266a1d0939709182c7f7 (patch) | |
tree | e54c9ff33d573de115de3ebb5032400560bfe1a0 /voctocore/lib/tcpmulticonnection.py | |
parent | f160142a930ffed05a3f45150e24df99ee5ab6ce (diff) |
print incoming connection adress nicer and also fd-number
Diffstat (limited to 'voctocore/lib/tcpmulticonnection.py')
-rw-r--r-- | voctocore/lib/tcpmulticonnection.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/voctocore/lib/tcpmulticonnection.py b/voctocore/lib/tcpmulticonnection.py index e9caf2c..c47381d 100644 --- a/voctocore/lib/tcpmulticonnection.py +++ b/voctocore/lib/tcpmulticonnection.py @@ -27,7 +27,7 @@ class TCPMultiConnection(object): conn, addr = sock.accept() conn.setblocking(False) - self.log.info("Incomming Connection from %s", addr) + self.log.info("Incomming Connection from [%s]:%u (fd=%u)", addr[0], addr[1], conn.fileno()) self.currentConnections[conn] = Queue() self.log.info('Now %u Receiver connected', len(self.currentConnections)) |