diff src/org/eclipse/jetty/server/InclusiveByteRange.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/InclusiveByteRange.java	Fri Sep 09 17:10:47 2016 -0600
+++ b/src/org/eclipse/jetty/server/InclusiveByteRange.java	Tue Sep 13 23:13:06 2016 -0600
@@ -23,8 +23,8 @@
 import java.util.StringTokenizer;
 
 import org.eclipse.jetty.util.LazyList;
-import org.eclipse.jetty.util.log.Log;
-import org.eclipse.jetty.util.log.Logger;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 /* ------------------------------------------------------------ */
 /** Byte range inclusive of end points.
@@ -49,7 +49,7 @@
  */
 public class InclusiveByteRange 
 {
-    private static final Logger LOG = Log.getLogger(InclusiveByteRange.class);
+    private static final Logger LOG = LoggerFactory.getLogger(InclusiveByteRange.class);
 
     long first = 0;
     long last  = 0;    
@@ -141,7 +141,7 @@
                     catch (NumberFormatException e)
                     {
                         LOG.warn("Bad range format: {}",t);
-                        LOG.ignore(e);
+                        LOG.trace("",e);
                         continue;
                     }
                 }
@@ -149,7 +149,7 @@
             catch(Exception e)
             {
                 LOG.warn("Bad range format: {}",t);
-                LOG.ignore(e);
+                LOG.trace("",e);
             }    
         }
         return LazyList.getList(satRanges,true);