tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject svn commit: r531083 - /tomcat/tc6.0.x/trunk/java/org/apache/catalina/tribes/group/interceptors/TcpFailureDetector.java
Date Sat, 21 Apr 2007 18:54:49 GMT
Author: pero
Date: Sat Apr 21 11:54:48 2007
New Revision: 531083

URL: http://svn.apache.org/viewvc?view=rev&rev=531083
Log:
Add Missing isInfoEnabled checks
No functional change

Modified:
    tomcat/tc6.0.x/trunk/java/org/apache/catalina/tribes/group/interceptors/TcpFailureDetector.java

Modified: tomcat/tc6.0.x/trunk/java/org/apache/catalina/tribes/group/interceptors/TcpFailureDetector.java
URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/catalina/tribes/group/interceptors/TcpFailureDetector.java?view=diff&rev=531083&r1=531082&r2=531083
==============================================================================
--- tomcat/tc6.0.x/trunk/java/org/apache/catalina/tribes/group/interceptors/TcpFailureDetector.java
(original)
+++ tomcat/tc6.0.x/trunk/java/org/apache/catalina/tribes/group/interceptors/TcpFailureDetector.java
Sat Apr 21 11:54:48 2007
@@ -243,7 +243,8 @@
                 membership.removeMember(m);
                 super.memberDisappeared(m);
                 removeSuspects.remove(m);
-                log.info("Suspect member, confirmed dead.["+m+"]");
+                if(log.isInfoEnabled())
+                    log.info("Suspect member, confirmed dead.["+m+"]");
             } //end if
         }
 
@@ -256,7 +257,8 @@
                 membership.memberAlive(m);
                 super.memberAdded(m);
                 addSuspects.remove(m);
-                log.info("Suspect member, confirmed alive.["+m+"]");
+                if(log.isInfoEnabled())
+                    log.info("Suspect member, confirmed alive.["+m+"]");
             } //end if
         }
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message