From d7483934a031bae3464b77544d591f4019ebc43e Mon Sep 17 00:00:00 2001 From: Joakim Erdfelt Date: Tue, 20 Jun 2017 13:42:53 -0700 Subject: [PATCH] Correcting dumps to only occur during DEBUG --- .../org/eclipse/jetty/websocket/tests/UntrustedWSServer.java | 2 +- .../main/java/org/eclipse/jetty/websocket/tests/WSServer.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jetty-websocket/websocket-tests/src/main/java/org/eclipse/jetty/websocket/tests/UntrustedWSServer.java b/jetty-websocket/websocket-tests/src/main/java/org/eclipse/jetty/websocket/tests/UntrustedWSServer.java index 8d33b0be96f..6e75d25b9ee 100644 --- a/jetty-websocket/websocket-tests/src/main/java/org/eclipse/jetty/websocket/tests/UntrustedWSServer.java +++ b/jetty-websocket/websocket-tests/src/main/java/org/eclipse/jetty/websocket/tests/UntrustedWSServer.java @@ -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(); diff --git a/jetty-websocket/websocket-tests/src/main/java/org/eclipse/jetty/websocket/tests/WSServer.java b/jetty-websocket/websocket-tests/src/main/java/org/eclipse/jetty/websocket/tests/WSServer.java index b9a1e56d409..6c033af9fb1 100644 --- a/jetty-websocket/websocket-tests/src/main/java/org/eclipse/jetty/websocket/tests/WSServer.java +++ b/jetty-websocket/websocket-tests/src/main/java/org/eclipse/jetty/websocket/tests/WSServer.java @@ -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()); } }