Author: ataylor
Date: 2011-02-28 09:13:24 -0500 (Mon, 28 Feb 2011)
New Revision: 10260
Modified:
branches/Branch_2_2_EAP/src/main/org/hornetq/core/client/impl/Topology.java
Log:
added better debug
Modified: branches/Branch_2_2_EAP/src/main/org/hornetq/core/client/impl/Topology.java
===================================================================
--- branches/Branch_2_2_EAP/src/main/org/hornetq/core/client/impl/Topology.java 2011-02-27
10:24:21 UTC (rev 10259)
+++ branches/Branch_2_2_EAP/src/main/org/hornetq/core/client/impl/Topology.java 2011-02-28
14:13:24 UTC (rev 10260)
@@ -54,10 +54,9 @@
TopologyMember currentMember = topology.get(nodeId);
if (debug)
{
- if(member.getConnector().toString().contains("server-id=4"))
- {
- log.debug("member.getConnector() = " + member.getConnector());
- }
+ System.out.println("adding = " + nodeId + ":" +
member.getConnector());
+ System.out.println("before----------------------------------");
+ System.out.println(describe());
}
if(currentMember == null)
{
@@ -86,6 +85,12 @@
member.getConnector().b = currentMember.getConnector().b;
}
}
+ if(debug)
+ {
+
+ System.out.println("after----------------------------------updated=" +
replaced);
+ System.out.println(describe());
+ }
return replaced;
}
Show replies by date