summaryrefslogtreecommitdiff
path: root/voctocore/lib/tcpmulticonnection.py
diff options
context:
space:
mode:
authorMaZderMind <github@mazdermind.de>2016-01-06 12:06:03 +0100
committerMaZderMind <github@mazdermind.de>2016-01-06 12:06:03 +0100
commit0520085957a85efef56b266a1d0939709182c7f7 (patch)
treee54c9ff33d573de115de3ebb5032400560bfe1a0 /voctocore/lib/tcpmulticonnection.py
parentf160142a930ffed05a3f45150e24df99ee5ab6ce (diff)
print incoming connection adress nicer and also fd-number
Diffstat (limited to 'voctocore/lib/tcpmulticonnection.py')
-rw-r--r--voctocore/lib/tcpmulticonnection.py2
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))