Author: markt
Date: Wed Dec 12 19:31:46 2018
New Revision: 1848788

URL: http://svn.apache.org/viewvc?rev=1848788&view=rev
Log:
Add some temporary debug code while I try to get to the bottom of some CI 
failures

Modified:
    tomcat/trunk/java/org/apache/coyote/http2/StreamProcessor.java

Modified: tomcat/trunk/java/org/apache/coyote/http2/StreamProcessor.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http2/StreamProcessor.java?rev=1848788&r1=1848787&r2=1848788&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/http2/StreamProcessor.java (original)
+++ tomcat/trunk/java/org/apache/coyote/http2/StreamProcessor.java Wed Dec 12 
19:31:46 2018
@@ -76,6 +76,8 @@ class StreamProcessor extends AbstractPr
                             ConnectionException ce = new 
ConnectionException(sm.getString(
                                     "streamProcessor.error.connection", 
stream.getConnectionId(),
                                     stream.getIdentifier()), 
Http2Error.INTERNAL_ERROR);
+                            // TODO - Temporary debug code
+                            log.info(ce.getMessage(), ce);
                             stream.close(ce);
                         } else if (!getErrorState().isIoAllowed()) {
                             StreamException se = new 
StreamException(sm.getString(
@@ -88,9 +90,10 @@ class StreamProcessor extends AbstractPr
                 } catch (Exception e) {
                     String msg = 
sm.getString("streamProcessor.error.connection",
                             stream.getConnectionId(), stream.getIdentifier());
-                    if (log.isDebugEnabled()) {
-                        log.debug(msg, e);
-                    }
+                    // TODO - Temporary debug code
+                    //if (log.isDebugEnabled()) {
+                        log.info(msg, e);
+                    //}
                     ConnectionException ce = new ConnectionException(msg, 
Http2Error.INTERNAL_ERROR);
                     ce.initCause(e);
                     stream.close(ce);



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

Reply via email to