[jboss-cvs] JBossAS SVN: r65390 - trunk/cluster/src/main/org/jboss/ha/singleton.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Sep 13 21:29:07 EDT 2007
Author: bstansberry at jboss.com
Date: 2007-09-13 21:29:06 -0400 (Thu, 13 Sep 2007)
New Revision: 65390
Modified:
trunk/cluster/src/main/org/jboss/ha/singleton/HASingletonSupport.java
Log:
Logging
Modified: trunk/cluster/src/main/org/jboss/ha/singleton/HASingletonSupport.java
===================================================================
--- trunk/cluster/src/main/org/jboss/ha/singleton/HASingletonSupport.java 2007-09-14 01:19:06 UTC (rev 65389)
+++ trunk/cluster/src/main/org/jboss/ha/singleton/HASingletonSupport.java 2007-09-14 01:29:06 UTC (rev 65390)
@@ -99,8 +99,7 @@
*/
public void startSingleton()
{
- if (log.isDebugEnabled())
- log.debug("startSingleton() : elected for master singleton node");
+ log.debug("startSingleton() : elected for master singleton node");
// Extending classes will implement the singleton logic here
}
@@ -115,8 +114,7 @@
*/
public void stopSingleton()
{
- if (log.isDebugEnabled())
- log.debug("stopSingleton() : another node in the partition (if any) is elected for master");
+ log.debug("stopSingleton() : another node in the partition (if any) is elected for master");
// Extending classes will implement the singleton logic here
}
@@ -137,11 +135,8 @@
else
isElectedNewMaster = isDRMMasterReplica();
- if (log.isDebugEnabled())
- {
- log.debug("partitionTopologyChanged, isElectedNewMaster=" + isElectedNewMaster
+ log.debug("partitionTopologyChanged, isElectedNewMaster=" + isElectedNewMaster
+ ", isMasterNode=" + isMasterNode + ", viewID=" + newViewID);
- }
// if this node is already the master, don't bother electing it again
if (isElectedNewMaster && isMasterNode)
More information about the jboss-cvs-commits
mailing list