This is an automated email from the ASF dual-hosted git repository. lihan 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 5190f92b5e Fix incorrect debug messages 5190f92b5e is described below commit 5190f92b5e8288cde5c0f4a9814b46166e6447bb Author: lihan <li...@apache.org> AuthorDate: Fri Sep 2 21:42:24 2022 +0800 Fix incorrect debug messages --- java/org/apache/catalina/valves/ErrorReportValve.java | 2 +- java/org/apache/catalina/valves/JsonErrorReportValve.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java/org/apache/catalina/valves/ErrorReportValve.java b/java/org/apache/catalina/valves/ErrorReportValve.java index e7fbc696e4..1048985d32 100644 --- a/java/org/apache/catalina/valves/ErrorReportValve.java +++ b/java/org/apache/catalina/valves/ErrorReportValve.java @@ -317,7 +317,7 @@ public class ErrorReportValve extends ValveBase { } catch (Throwable t) { ExceptionUtils.handleThrowable(t); if (container.getLogger().isDebugEnabled()) { - container.getLogger().debug("status.setContentType", t); + container.getLogger().debug("Failure to set the content-type of response", t); } } Writer writer = response.getReporter(); diff --git a/java/org/apache/catalina/valves/JsonErrorReportValve.java b/java/org/apache/catalina/valves/JsonErrorReportValve.java index 19afec6d84..8af7968d30 100644 --- a/java/org/apache/catalina/valves/JsonErrorReportValve.java +++ b/java/org/apache/catalina/valves/JsonErrorReportValve.java @@ -73,7 +73,7 @@ public class JsonErrorReportValve extends ErrorReportValve { } catch (Throwable t) { ExceptionUtils.handleThrowable(t); if (container.getLogger().isDebugEnabled()) { - container.getLogger().debug("status.setContentType", t); + container.getLogger().debug("Failure to set the content-type of response", t); } } Writer writer = response.getReporter(); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org