Commit 7b57d35f authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Added option to enable/disable jetty debugging information.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@4936 b35dd754-fafc-0310-a699-88a17e54d16e
parent eb264e9a
......@@ -161,11 +161,12 @@ public class AdminConsolePlugin implements Plugin {
if (logImpl instanceof LogImpl) {
LogImpl log = (LogImpl)logImpl;
// Ignore INFO logs unless debugging turned on.
if (!Log.isDebugEnabled()) {
log.setVerbose(-1);
if (Log.isDebugEnabled() &&
JiveGlobals.getBooleanProperty("jetty.debug.enabled", true)) {
log.setVerbose(1);
}
else {
log.setVerbose(1);
log.setVerbose(-1);
}
log.add(logSink);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment