User: dmaplesden
Date: 01/12/13 16:22:43
Modified: src/main/org/jboss/mq/il/oil OILClientILService.java
Log:
debug -> trace logging
Revision Changes Path
1.5 +6 -4 jbossmq/src/main/org/jboss/mq/il/oil/OILClientILService.java
Index: OILClientILService.java
===================================================================
RCS file:
/cvsroot/jboss/jbossmq/src/main/org/jboss/mq/il/oil/OILClientILService.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- OILClientILService.java 2001/09/26 05:02:28 1.4
+++ OILClientILService.java 2001/12/14 00:22:43 1.5
@@ -30,13 +30,13 @@
*
* @author Norbert Lataille ([EMAIL PROTECTED])
* @author Hiram Chirino ([EMAIL PROTECTED])
- * @version $Revision: 1.4 $
+ * @version $Revision: 1.5 $
* @created August 16, 2001
*/
public class OILClientILService implements Runnable, org.jboss.mq.il.ClientILService
{
- static org.apache.log4j.Category cat =
org.apache.log4j.Category.getInstance(OILClientILService.class);
+ static org.jboss.logging.Logger cat =
org.jboss.logging.Logger.getLogger(OILClientILService.class);
// Attributes ----------------------------------------------------
final static int m_close = 2;
final static int m_deleteTemporaryDestination = 1;
@@ -93,7 +93,8 @@
try
{
- cat.debug("Waiting for the server to connect to me");
+ if( cat.isDebugEnabled() )
+ cat.debug("Waiting for the server to connect to me");
// We may close() before we get a connection so we need to
// periodicaly check to see if we were !running.
serverSocket.setSoTimeout(1000);
@@ -147,7 +148,8 @@
try
{
- cat.debug("Waiting for a messgage from the server");
+ if( cat.isTraceEnabled() )
+ cat.trace("Waiting for message from server.");
code = in.readByte();
}
catch (java.io.InterruptedIOException e)
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development