This is an automated email from the ASF dual-hosted git repository. lihan 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 583d658e65 Fix incorrect debug messages 583d658e65 is described below commit 583d658e65905ec6d3191ed3103036cdad4c4c08 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 d59799b066..cc204695f8 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