From 1b873d3e112d6d1127a1ad6d500c3257dcbf999d Mon Sep 17 00:00:00 2001 From: hns Date: Tue, 20 Nov 2007 15:13:55 +0000 Subject: [PATCH] * Exclude Jetty classes from console log. This is a hack to prevent all request and response headers to be dumped to console with debug=true. Fixes bug 560 --- src/helma/util/Logging.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helma/util/Logging.java b/src/helma/util/Logging.java index 3e2e8c9c..45d04459 100644 --- a/src/helma/util/Logging.java +++ b/src/helma/util/Logging.java @@ -64,7 +64,7 @@ public class Logging extends LogFactory { throw new LogConfigurationException("No logname specified!"); } - if ("console".equals(logdir)) { + if ("console".equals(logdir) && !logname.startsWith("org.mortbay.")) { return getConsoleLog(); } else { return getFileLog(logname);