[Neo-report] r2147 vincent - /trunk/neo/node.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Jun 9 11:08:16 CEST 2010
Author: vincent
Date: Wed Jun 9 11:08:14 2010
New Revision: 2147
Log:
Also log node connection state when dropping it.
Modified:
trunk/neo/node.py
Modified: trunk/neo/node.py
==============================================================================
--- trunk/neo/node.py [iso-8859-1] (original)
+++ trunk/neo/node.py [iso-8859-1] Wed Jun 9 11:08:14 2010
@@ -459,8 +459,8 @@
'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()
More information about the Neo-report
mailing list