* 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 <http://helma.org/bugs/show_bug.cgi?id=560>
This commit is contained in:
hns 2007-11-20 15:13:55 +00:00
parent 90c02cadc0
commit 1b873d3e11

View file

@ -64,7 +64,7 @@ public class Logging extends LogFactory {
throw new LogConfigurationException("No logname specified!"); throw new LogConfigurationException("No logname specified!");
} }
if ("console".equals(logdir)) { if ("console".equals(logdir) && !logname.startsWith("org.mortbay.")) {
return getConsoleLog(); return getConsoleLog();
} else { } else {
return getFileLog(logname); return getFileLog(logname);