Commit a0e93c32 authored by Matt Tucker's avatar Matt Tucker Committed by matt

Don't enable Jetty debug logging by default.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@6252 b35dd754-fafc-0310-a699-88a17e54d16e
parent 2bacf1b7
...@@ -732,8 +732,14 @@ public class HttpServerManager { ...@@ -732,8 +732,14 @@ public class HttpServerManager {
*/ */
public static class JettyLog implements Logger { public static class JettyLog implements Logger {
/**
* Only enable Jetty debug logging if it's specifically enabled. Otherwise, Jetty debug logs
* pollute the Wildfire debug log with too much data.
*/
private boolean debugEnabled = JiveGlobals.getBooleanProperty("jetty.debugEnabled");
public boolean isDebugEnabled() { public boolean isDebugEnabled() {
return Log.isDebugEnabled(); return debugEnabled && Log.isDebugEnabled();
} }
public void setDebugEnabled(boolean b) { public void setDebugEnabled(boolean b) {
......
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