Commit 3d7f0580 authored by Vincent Pelletier's avatar Vincent Pelletier

Also log node connection state when dropping it.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2147 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent a14c42ac
......@@ -459,8 +459,8 @@ class NodeManager(object):
'Discrepancy between node_by_uuid (%r) and ' \
'node_by_addr (%r)' % (node_by_uuid, node_by_addr)
if state == NodeStates.DOWN:
logging.debug('droping node %r, found with %s %s %s %s',
node, *log_args)
logging.debug('droping node %r (%r), found with %s %s %s %s',
node, node.isConnected(), *log_args)
if node.isConnected():
# cut this connection, node removed by handler
node.getConnection().close()
......
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