From bfe79c0afe16961ea1d0e9844a94d18f264c985b Mon Sep 17 00:00:00 2001 From: Jan Bartel Date: Thu, 4 Jan 2018 12:39:40 +0100 Subject: [PATCH] Enable debug logging for SessionExpiryTest --- .../jetty/server/session/AbstractSessionExpiryTest.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test-sessions/test-sessions-common/src/main/java/org/eclipse/jetty/server/session/AbstractSessionExpiryTest.java b/tests/test-sessions/test-sessions-common/src/main/java/org/eclipse/jetty/server/session/AbstractSessionExpiryTest.java index 523867b63fb..cdf512c3ace 100644 --- a/tests/test-sessions/test-sessions-common/src/main/java/org/eclipse/jetty/server/session/AbstractSessionExpiryTest.java +++ b/tests/test-sessions/test-sessions-common/src/main/java/org/eclipse/jetty/server/session/AbstractSessionExpiryTest.java @@ -41,6 +41,7 @@ import org.eclipse.jetty.client.api.Request; import org.eclipse.jetty.servlet.ServletContextHandler; import org.eclipse.jetty.servlet.ServletHolder; import org.eclipse.jetty.util.StringUtil; +import org.eclipse.jetty.util.log.Log; import org.junit.Test; /** @@ -182,8 +183,10 @@ public abstract class AbstractSessionExpiryTest extends AbstractTestBase server1.addContext(contextPath).addServlet(holder, servletMapping); HttpClient client = new HttpClient(); + try { + Log.getLogger(org.eclipse.jetty.util.thread.QueuedThreadPool.class).setDebugEnabled(true); server1.start(); int port1 = server1.getPort(); @@ -213,6 +216,7 @@ public abstract class AbstractSessionExpiryTest extends AbstractTestBase } finally { + Log.getLogger(org.eclipse.jetty.util.thread.QueuedThreadPool.class).setDebugEnabled(false); client.stop(); server1.stop(); }