tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1360746 - /tomcat/trunk/java/org/apache/tomcat/jni/socket/AprSocket.java
Date Thu, 12 Jul 2012 16:19:45 GMT
Author: markt
Date: Thu Jul 12 16:19:45 2012
New Revision: 1360746

URL: http://svn.apache.org/viewvc?rev=1360746&view=rev
Log:
Remove level check

Modified:
    tomcat/trunk/java/org/apache/tomcat/jni/socket/AprSocket.java

Modified: tomcat/trunk/java/org/apache/tomcat/jni/socket/AprSocket.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/jni/socket/AprSocket.java?rev=1360746&r1=1360745&r2=1360746&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/jni/socket/AprSocket.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/jni/socket/AprSocket.java Thu Jul 12 16:19:45 2012
@@ -281,9 +281,7 @@ public class AprSocket implements Runnab
                 updatePolling();
                 return rt;
             }
-            if (log.isLoggable(Level.WARNING)) {
-                log.warning("apr.send(): Failed to send, closing " + sent);
-            }
+            log.warning("apr.send(): Failed to send, closing " + sent);
             reset();
             throw new IOException("Error sending " + sent + " " + Error.strerror(-sent));
         } else {



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


Mime
View raw message