Author: ron.sigal(a)jboss.com
Date: 2008-07-26 15:55:03 -0400 (Sat, 26 Jul 2008)
New Revision: 4427
Modified:
remoting2/branches/2.2/src/main/org/jboss/remoting/transport/socket/ServerSocketWrapper.java
Log:
JBREM-1017: Log exceptions at DEBUG level in checkConnection().
Modified:
remoting2/branches/2.2/src/main/org/jboss/remoting/transport/socket/ServerSocketWrapper.java
===================================================================
---
remoting2/branches/2.2/src/main/org/jboss/remoting/transport/socket/ServerSocketWrapper.java 2008-07-22
06:43:54 UTC (rev 4426)
+++
remoting2/branches/2.2/src/main/org/jboss/remoting/transport/socket/ServerSocketWrapper.java 2008-07-26
19:55:03 UTC (rev 4427)
@@ -78,16 +78,12 @@
}
catch(EOFException eof)
{
- if(log.isTraceEnabled())
- {
- log.trace("socket timeout is set to : " + getTimeout());
- log.trace("EOFException waiting on ACK in readByte().");
- //log.trace("Time waited was " + (System.currentTimeMillis() -
startWait));
- }
+ log.debug("EOFException waiting on ACK in readByte().");
throw eof;
}
catch(IOException e)
{
+ log.debug("IOException when reading in ACK: " + e.getMessage());
log.trace("IOException when reading in ACK", e);
throw e;
}
Show replies by date