Commit 5e799d01 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Log notifyNodeInformation packet content.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1613 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent deeb6b2c
......@@ -77,7 +77,13 @@ class PacketLogger(EventHandler):
pass
def notifyNodeInformation(self, conn, node_list):
pass
for node_type, address, uuid, state in node_list:
if address is not None:
address = '%s:%d' % address
else:
address = '?'
node = (dump(uuid), node_type, address, state)
logging.debug(' ! %s | %8s | %22s | %s' % node)
def askLastIDs(self, conn):
pass
......
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