This is an automated email from the ASF dual-hosted git repository.

remm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/main by this push:
     new cdc68e3507 Lower log level
cdc68e3507 is described below

commit cdc68e350759c7ba5e3ff8f75be11b1285e9d1d8
Author: remm <r...@apache.org>
AuthorDate: Thu Feb 1 17:03:52 2024 +0100

    Lower log level
    
    The verbosity seems too high for debug level.
---
 java/org/apache/coyote/http11/Http11InputBuffer.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/java/org/apache/coyote/http11/Http11InputBuffer.java 
b/java/org/apache/coyote/http11/Http11InputBuffer.java
index 1ae9eba04b..fea3b2fe46 100644
--- a/java/org/apache/coyote/http11/Http11InputBuffer.java
+++ b/java/org/apache/coyote/http11/Http11InputBuffer.java
@@ -750,8 +750,8 @@ public class Http11InputBuffer implements InputBuffer, 
ApplicationBufferHandler
      */
     private boolean fill(boolean block) throws IOException {
 
-        if (log.isDebugEnabled()) {
-            log.debug("Before fill(): parsingHeader: [" + parsingHeader + "], 
parsingRequestLine: [" +
+        if (log.isTraceEnabled()) {
+            log.trace("Before fill(): parsingHeader: [" + parsingHeader + "], 
parsingRequestLine: [" +
                     parsingRequestLine + "], parsingRequestLinePhase: [" + 
parsingRequestLinePhase +
                     "], parsingRequestLineStart: [" + parsingRequestLineStart 
+ "], byteBuffer.position(): [" +
                     byteBuffer.position() + "], byteBuffer.limit(): [" + 
byteBuffer.limit() + "], end: [" + end + "]");
@@ -802,8 +802,8 @@ public class Http11InputBuffer implements InputBuffer, 
ApplicationBufferHandler
             }
         }
 
-        if (log.isDebugEnabled()) {
-            log.debug("Received [" + new String(byteBuffer.array(), 
byteBuffer.position(), byteBuffer.remaining(),
+        if (log.isTraceEnabled()) {
+            log.trace("Received [" + new String(byteBuffer.array(), 
byteBuffer.position(), byteBuffer.remaining(),
                     StandardCharsets.ISO_8859_1) + "]");
         }
 


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

Reply via email to