Author: ron.sigal(a)jboss.com
Date: 2008-07-26 15:59:31 -0400 (Sat, 26 Jul 2008)
New Revision: 4429
Modified:
remoting2/branches/2.x/src/main/org/jboss/remoting/transport/socket/ServerSocketWrapper.java
Log:
JBREM-1017: Log exceptions at DEBUG level in checkConnection().
Modified:
remoting2/branches/2.x/src/main/org/jboss/remoting/transport/socket/ServerSocketWrapper.java
===================================================================
---
remoting2/branches/2.x/src/main/org/jboss/remoting/transport/socket/ServerSocketWrapper.java 2008-07-26
19:58:52 UTC (rev 4428)
+++
remoting2/branches/2.x/src/main/org/jboss/remoting/transport/socket/ServerSocketWrapper.java 2008-07-26
19:59:31 UTC (rev 4429)
@@ -80,16 +80,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 read().");
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