diff src/org/eclipse/jetty/server/AsyncHttpConnection.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 3268ddf919d4
line wrap: on
line diff
--- a/src/org/eclipse/jetty/server/AsyncHttpConnection.java	Fri Sep 09 17:10:47 2016 -0600
+++ b/src/org/eclipse/jetty/server/AsyncHttpConnection.java	Tue Sep 13 23:13:06 2016 -0600
@@ -27,8 +27,8 @@
 import org.eclipse.jetty.io.EndPoint;
 import org.eclipse.jetty.io.nio.AsyncConnection;
 import org.eclipse.jetty.io.nio.SelectChannelEndPoint;
-import org.eclipse.jetty.util.log.Log;
-import org.eclipse.jetty.util.log.Logger;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 
 /* ------------------------------------------------------------ */
@@ -40,7 +40,7 @@
     private final static int NO_PROGRESS_INFO = Integer.getInteger("org.mortbay.jetty.NO_PROGRESS_INFO",100);
     private final static int NO_PROGRESS_CLOSE = Integer.getInteger("org.mortbay.jetty.NO_PROGRESS_CLOSE",200);
 
-    private static final Logger LOG = Log.getLogger(AsyncHttpConnection.class);
+    private static final Logger LOG = LoggerFactory.getLogger(AsyncHttpConnection.class);
     private int _total_no_progress;
     private final AsyncEndPoint _asyncEndp;
     private boolean _readInterested = true;
@@ -100,7 +100,7 @@
                     {
                         LOG.debug("uri="+_uri);
                         LOG.debug("fields="+_requestFields);
-                        LOG.debug(e);
+                        LOG.debug("",e);
                     }
                     progress=true;
                     _generator.sendError(e.getStatus(), e.getReason(), null, true);