Commit 2361b151 authored by Julien Muchembled's avatar Julien Muchembled

logs: show source address/port when a connection is set up

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2703 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent ef692021
...@@ -96,7 +96,8 @@ class EventHandler(object): ...@@ -96,7 +96,8 @@ class EventHandler(object):
def connectionCompleted(self, conn): def connectionCompleted(self, conn):
"""Called when a connection is completed.""" """Called when a connection is completed."""
neo.lib.logging.debug('connection completed for %r', conn) neo.lib.logging.debug('connection completed for %r (from %s:%u)',
conn, *conn.getConnector().getAddress())
def connectionFailed(self, conn): def connectionFailed(self, conn):
"""Called when a connection failed.""" """Called when a connection failed."""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment