From 20e058e92d6bd7d81c86b54b64f05b4cbcbf9a2e Mon Sep 17 00:00:00 2001 From: fhanik Date: Fri, 23 Mar 2007 16:12:09 +0000 Subject: [PATCH] choke the log statement, not needed git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@521787 13f79535-47bb-0310-9956-ffa450edef68 --- java/org/apache/tomcat/util/net/NioEndpoint.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/java/org/apache/tomcat/util/net/NioEndpoint.java b/java/org/apache/tomcat/util/net/NioEndpoint.java index 4c455510e..417193861 100644 --- a/java/org/apache/tomcat/util/net/NioEndpoint.java +++ b/java/org/apache/tomcat/util/net/NioEndpoint.java @@ -1480,7 +1480,6 @@ public class NioEndpoint { } }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 ) { @@ -1969,7 +1968,6 @@ public class NioEndpoint { } 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); -- 2.11.0