Correcting dumps to only occur during DEBUG

This commit is contained in:
Joakim Erdfelt 2017-06-20 13:42:53 -07:00
parent db9997a792
commit e9ab0b3994
2 changed files with 2 additions and 2 deletions

View File

@ -136,7 +136,7 @@ public class UntrustedWSServer extends ContainerLifeCycle implements UntrustedWS
if (LOG.isDebugEnabled())
{
LOG.debug("WebSocket Server URI: " + wsUri.toASCIIString());
server.dump();
LOG.debug("{}", server.dump());
}
super.doStart();

View File

@ -155,7 +155,7 @@ public class WSServer extends LocalServer implements LocalFuzzer.Provider
webapp.start();
if (LOG.isDebugEnabled())
{
webapp.dump(System.err);
LOG.debug("{}", webapp.dump());
}
}