diff src/org/eclipse/jetty/util/component/AggregateLifeCycle.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 e21ca9878a10
line wrap: on
line diff
--- a/src/org/eclipse/jetty/util/component/AggregateLifeCycle.java	Fri Sep 09 17:10:47 2016 -0600
+++ b/src/org/eclipse/jetty/util/component/AggregateLifeCycle.java	Tue Sep 13 23:13:06 2016 -0600
@@ -26,8 +26,8 @@
 import java.util.List;
 import java.util.concurrent.CopyOnWriteArrayList;
 
-import org.eclipse.jetty.util.log.Log;
-import org.eclipse.jetty.util.log.Logger;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 /**
  * An AggregateLifeCycle is an {@link LifeCycle} implementation for a collection of contained beans.
@@ -45,7 +45,7 @@
  */
 public class AggregateLifeCycle extends AbstractLifeCycle implements Destroyable, Dumpable
 {
-    private static final Logger LOG = Log.getLogger(AggregateLifeCycle.class);
+    private static final Logger LOG = LoggerFactory.getLogger(AggregateLifeCycle.class);
     private final List<Bean> _beans=new CopyOnWriteArrayList<Bean>();
     private boolean _started=false;
 
@@ -328,7 +328,7 @@
         }
         catch (IOException e)
         {
-            LOG.warn(e);
+            LOG.warn("",e);
         }
     }
     
@@ -348,7 +348,7 @@
         }
         catch (IOException e)
         {
-            LOG.warn(e);
+            LOG.warn("",e);
         }
         return b.toString();
     }