tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject svn commit: r375601 - /tomcat/connectors/trunk/util/java/org/apache/tomcat/util/net/AprEndpoint.java
Date Tue, 07 Feb 2006 14:04:48 GMT
Author: remm
Date: Tue Feb  7 06:04:47 2006
New Revision: 375601

URL: http://svn.apache.org/viewcvs?rev=375601&view=rev
Log:
- Modify logging for APR sendfile errors affecting only a single transfer when adding to the
  poller.

Modified:
    tomcat/connectors/trunk/util/java/org/apache/tomcat/util/net/AprEndpoint.java

Modified: tomcat/connectors/trunk/util/java/org/apache/tomcat/util/net/AprEndpoint.java
URL: http://svn.apache.org/viewcvs/tomcat/connectors/trunk/util/java/org/apache/tomcat/util/net/AprEndpoint.java?rev=375601&r1=375600&r2=375601&view=diff
==============================================================================
--- tomcat/connectors/trunk/util/java/org/apache/tomcat/util/net/AprEndpoint.java (original)
+++ tomcat/connectors/trunk/util/java/org/apache/tomcat/util/net/AprEndpoint.java Tue Feb
 7 06:04:47 2006
@@ -1429,7 +1429,9 @@
                                     sendfileData.put(new Long(data.socket), data);
                                     sendfileCount++;
                                 } else {
-                                    log.warn(sm.getString("endpoint.sendfile.addfail", ""
+ rv));
+                                    if (log.isDebugEnabled()) {
+                                        log.debug(sm.getString("endpoint.sendfile.addfail",
Error.strerror(rv)));
+                                    }
                                     // Can't do anything: close the socket right away
                                     Socket.destroy(data.socket);
                                 }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message