You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2024/02/01 16:07:10 UTC
(tomcat) branch 9.0.x updated: Lower log level
This is an automated email from the ASF dual-hosted git repository.
remm pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push:
new e5f9a0c023 Lower log level
e5f9a0c023 is described below
commit e5f9a0c0232ef0a626b7c90815244f15657146c8
Author: remm <re...@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 3721b1b712..0673bb648a 100644
--- a/java/org/apache/coyote/http11/Http11InputBuffer.java
+++ b/java/org/apache/coyote/http11/Http11InputBuffer.java
@@ -754,8 +754,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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org