diff src/org/eclipse/jetty/server/handler/GzipHandler.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 4de7f6e9c453
line wrap: on
line diff
--- a/src/org/eclipse/jetty/server/handler/GzipHandler.java	Fri Sep 09 17:10:47 2016 -0600
+++ b/src/org/eclipse/jetty/server/handler/GzipHandler.java	Tue Sep 13 23:13:06 2016 -0600
@@ -40,8 +40,8 @@
 import org.eclipse.jetty.http.gzip.CompressedResponseWrapper;
 import org.eclipse.jetty.http.gzip.AbstractCompressedStream;
 import org.eclipse.jetty.server.Request;
-import org.eclipse.jetty.util.log.Log;
-import org.eclipse.jetty.util.log.Logger;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 /* ------------------------------------------------------------ */
 /**
@@ -62,7 +62,7 @@
  */
 public class GzipHandler extends HandlerWrapper
 {
-    private static final Logger LOG = Log.getLogger(GzipHandler.class);
+    private static final Logger LOG = LoggerFactory.getLogger(GzipHandler.class);
 
     protected Set<String> _mimeTypes;
     protected Set<String> _excluded;
@@ -279,7 +279,7 @@
                                 }
                                 catch(IOException e)
                                 {
-                                    LOG.warn(e);
+                                    LOG.warn("",e);
                                 }
                             }