* 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:
parent
90c02cadc0
commit
1b873d3e11
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue