Peter Rossbach wrote:
Hi Filip,
why you log a warn message and control it with debug level?
cause it is a warning message, I just don't want to show the warning
unless debug is enabled.
Filip
Peter
Am 23.03.2007 um 17:12 schrieb [EMAIL PROTECTED]:
Author: fhanik
Date: Fri Mar 23 09:12:09 2007
New Revision: 521787
URL: http://svn.apache.org/viewvc?view=rev&rev=521787
Log:
choke the log statement, not needed
Modified:
tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java
Modified:
tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java
URL:
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java?view=diff&rev=521787&r1=521786&r2=521787
==============================================================================
---
tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java
(original)
+++
tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java
Fri Mar 23 09:12:09 2007
@@ -1480,7 +1480,6 @@
}
}catch ( IOException x ) {
if ( log.isDebugEnabled() ) log.warn("Unable to
complete sendfile request:", x);
- else log.warn("Unable to complete sendfile
request:"+x.getMessage());
cancelledKey(sk,SocketStatus.ERROR,false);
return false;
}catch ( Throwable t ) {
@@ -1968,7 +1967,6 @@
handshake = -1;
}
if ( handshake == 0 ) {
- // Process the request from this socket
// Process the request from this socket
boolean closed =
(status==null)?(handler.process(socket)==Handler.SocketState.CLOSED) :
(handler.event(socket,status)==Handler.SocketState.CLOSED);
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]