Enable debug logging for SessionExpiryTest

This commit is contained in:
Jan Bartel 2018-01-04 12:39:40 +01:00
parent a107e543e6
commit bfe79c0afe
1 changed files with 4 additions and 0 deletions

View File

@ -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();
}