Skip to content

Commit

Permalink
Make Jetty use java util logging
Browse files Browse the repository at this point in the history
  • Loading branch information
shs96c committed Nov 27, 2018
1 parent 87ed47f commit 9947d06
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@
import org.seleniumhq.jetty9.server.ServerConnector;
import org.seleniumhq.jetty9.servlet.ServletContextHandler;
import org.seleniumhq.jetty9.servlet.ServletHolder;
import org.seleniumhq.jetty9.util.log.JavaUtilLog;
import org.seleniumhq.jetty9.util.log.Log;
import org.seleniumhq.jetty9.util.security.Constraint;
import org.seleniumhq.jetty9.util.thread.QueuedThreadPool;

Expand Down Expand Up @@ -88,6 +90,7 @@ public BaseServer(BaseServerOptions options) {
throw new UncheckedIOException(e);
}

Log.setLog(new JavaUtilLog());
this.server = new org.seleniumhq.jetty9.server.Server(
new QueuedThreadPool(options.getMaxServerThreads()));

Expand Down

0 comments on commit 9947d06

Please sign in to comment.