This is an automated email from the ASF dual-hosted git repository.
remm pushed a commit to branch 8.5.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/8.5.x by this push:
new 63ced51295 Lower log level
63ced51295 is described below
commit 63ced512958556c7b6d7bfc60740648cecd0020d
Author: remm <[email protected]>
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 60e5027961..03c4c0cd22 100644
--- a/java/org/apache/coyote/http11/Http11InputBuffer.java
+++ b/java/org/apache/coyote/http11/Http11InputBuffer.java
@@ -759,8 +759,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 + "]");
@@ -806,8 +806,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: [email protected]
For additional commands, e-mail: [email protected]