User: ejort
Date: 02/01/04 17:12:46
Modified: src/main/org/jboss/mq/il/ha HAServerILService.java
Log:
Guarded debug logging.
Revision Changes Path
1.5 +5 -4 jbossmx/src/main/org/jboss/mq/il/ha/HAServerILService.java
Index: HAServerILService.java
===================================================================
RCS file: /cvsroot/jboss/jbossmx/src/main/org/jboss/mq/il/ha/HAServerILService.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- HAServerILService.java 2001/11/12 05:32:00 1.4
+++ HAServerILService.java 2002/01/05 01:12:46 1.5
@@ -26,7 +26,7 @@
* object to make the object HA via the jboss cluster.
*
* @author Hiram Chirino ([EMAIL PROTECTED])
- * @version $Revision: 1.4 $
+ * @version $Revision: 1.5 $
*/
public class HAServerILService extends org.jboss.mq.il.ServerILJMXService
implements HAServerILServiceMBean {
@@ -95,8 +95,9 @@
serverIL.setHaServerILProxy(serverILProxy);
bindJNDIReferences();
-
- log.debug("HAServerILProxy=" + serverILProxy);
+
+ if (log.isDebugEnabled())
+ log.debug("HAServerILProxy=" + serverILProxy);
}
/**
@@ -148,4 +149,4 @@
this.loadBalancePolicy = loadBalancePolicy;
}
-}
\ No newline at end of file
+}
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development