diff src/org/eclipse/jetty/server/BlockingHttpConnection.java @ 820:8e9db0bbf4f9

remove org.eclipse.jetty.util.log and upgrade slf4j
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 13 Sep 2016 23:13:06 -0600
parents 3428c60d7cfc
children ad495e897c32
line wrap: on
line diff
--- a/src/org/eclipse/jetty/server/BlockingHttpConnection.java	Fri Sep 09 17:10:47 2016 -0600
+++ b/src/org/eclipse/jetty/server/BlockingHttpConnection.java	Tue Sep 13 23:13:06 2016 -0600
@@ -26,8 +26,8 @@
 import org.eclipse.jetty.http.Parser;
 import org.eclipse.jetty.io.Connection;
 import org.eclipse.jetty.io.EndPoint;
-import org.eclipse.jetty.util.log.Log;
-import org.eclipse.jetty.util.log.Logger;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 
 /* ------------------------------------------------------------ */
@@ -35,7 +35,7 @@
  */
 public class BlockingHttpConnection extends AbstractHttpConnection
 {
-    private static final Logger LOG = Log.getLogger(BlockingHttpConnection.class);
+    private static final Logger LOG = LoggerFactory.getLogger(BlockingHttpConnection.class);
 
     public BlockingHttpConnection(Connector connector, EndPoint endpoint, Server server)
     {
@@ -87,7 +87,7 @@
                     {
                         LOG.debug("uri="+_uri);
                         LOG.debug("fields="+_requestFields);
-                        LOG.debug(e);
+                        LOG.debug("",e);
                     }
                     _generator.sendError(e.getStatus(), e.getReason(), null, true);
                     _parser.reset();