diff src/org/eclipse/jetty/server/LocalConnector.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
line wrap: on
line diff
--- a/src/org/eclipse/jetty/server/LocalConnector.java	Fri Sep 09 17:10:47 2016 -0600
+++ b/src/org/eclipse/jetty/server/LocalConnector.java	Tue Sep 13 23:13:06 2016 -0600
@@ -28,12 +28,12 @@
 import org.eclipse.jetty.io.ByteArrayEndPoint;
 import org.eclipse.jetty.io.Connection;
 import org.eclipse.jetty.util.StringUtil;
-import org.eclipse.jetty.util.log.Log;
-import org.eclipse.jetty.util.log.Logger;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 public class LocalConnector extends AbstractConnector
 {
-    private static final Logger LOG = Log.getLogger(LocalConnector.class);
+    private static final Logger LOG = LoggerFactory.getLogger(LocalConnector.class);
     private final BlockingQueue<Request> _requests = new LinkedBlockingQueue<Request>();
     
     public LocalConnector()
@@ -146,12 +146,12 @@
                 }
                 catch (IOException x)
                 {
-                    LOG.debug(x);
+                    LOG.debug("",x);
                     leaveOpen = false;
                 }
                 catch (Exception x)
                 {
-                    LOG.warn(x);
+                    LOG.warn("",x);
                     leaveOpen = false;
                 }
                 finally