Author: markt
Date: Thu Jan  4 20:15:20 2018
New Revision: 1820196

URL: http://svn.apache.org/viewvc?rev=1820196&view=rev
Log:
Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=61886
Log errors on non-container threads at DEBUG rather than INFO. The exception 
will be made available to the application via the asynchronous error handling 
mechanism.

Modified:
    tomcat/trunk/java/org/apache/coyote/AbstractProcessor.java
    tomcat/trunk/webapps/docs/changelog.xml

Modified: tomcat/trunk/java/org/apache/coyote/AbstractProcessor.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/AbstractProcessor.java?rev=1820196&r1=1820195&r2=1820196&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/AbstractProcessor.java (original)
+++ tomcat/trunk/java/org/apache/coyote/AbstractProcessor.java Thu Jan  4 
20:15:20 2018
@@ -97,7 +97,9 @@ public abstract class AbstractProcessor
             // clean-up. Need to do it this way to ensure that all the 
necessary
             // clean-up is performed.
             asyncStateMachine.asyncMustError();
-            
getLog().info(sm.getString("abstractProcessor.nonContainerThreadError"), t);
+            if (getLog().isDebugEnabled()) {
+                
getLog().debug(sm.getString("abstractProcessor.nonContainerThreadError"), t);
+            }
             processSocketEvent(SocketEvent.ERROR, true);
         }
     }

Modified: tomcat/trunk/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1820196&r1=1820195&r2=1820196&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Thu Jan  4 20:15:20 2018
@@ -98,6 +98,12 @@
         in the code that extracts the SNI information from a TLS handshake for
         the JSSE based NIO and NIO2 connectors. (markt)
       </fix>
+      <fix>
+        <bug>61886</bug>: Log errors on non-container threads at
+        <code>DEBUG</code> rather than <code>INFO</code>. The exception will be
+        made available to the application via the asynchronous error handling
+        mechanism. (markt)
+      </fix>
     </changelog>
   </subsection>
   <subsection name="Jasper">



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

Reply via email to