diff src/org/eclipse/jetty/util/thread/Timeout.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 c948f674a2d5
line wrap: on
line diff
--- a/src/org/eclipse/jetty/util/thread/Timeout.java	Fri Sep 09 17:10:47 2016 -0600
+++ b/src/org/eclipse/jetty/util/thread/Timeout.java	Tue Sep 13 23:13:06 2016 -0600
@@ -18,8 +18,8 @@
 
 package org.eclipse.jetty.util.thread;
 
-import org.eclipse.jetty.util.log.Log;
-import org.eclipse.jetty.util.log.Logger;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 
 /* ------------------------------------------------------------ */
@@ -33,7 +33,7 @@
  */
 public class Timeout
 {
-    private static final Logger LOG = Log.getLogger(Timeout.class);
+    private static final Logger LOG = LoggerFactory.getLogger(Timeout.class);
     private Object _lock;
     private long _duration;
     private volatile long _now=System.currentTimeMillis();
@@ -141,7 +141,7 @@
             }
             catch(Throwable th)
             {
-                LOG.warn(Log.EXCEPTION,th);
+                LOG.warn("EXCEPTION",th);
             }
         }
     }