Mercurial Hosting > luan
diff src/org/eclipse/jetty/server/AbstractConnector.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 | ad292e148964 |
children | e21ca9878a10 |
line wrap: on
line diff
--- a/src/org/eclipse/jetty/server/AbstractConnector.java Fri Sep 09 17:10:47 2016 -0600 +++ b/src/org/eclipse/jetty/server/AbstractConnector.java Tue Sep 13 23:13:06 2016 -0600 @@ -38,8 +38,8 @@ import org.eclipse.jetty.io.EofException; import org.eclipse.jetty.util.component.AggregateLifeCycle; import org.eclipse.jetty.util.component.Dumpable; -import org.eclipse.jetty.util.log.Log; -import org.eclipse.jetty.util.log.Logger; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; import org.eclipse.jetty.util.thread.ThreadPool; /** @@ -55,7 +55,7 @@ */ public abstract class AbstractConnector extends AggregateLifeCycle implements HttpBuffers, Connector, Dumpable { - private static final Logger LOG = Log.getLogger(AbstractConnector.class); + private static final Logger LOG = LoggerFactory.getLogger(AbstractConnector.class); private String _name; @@ -337,7 +337,7 @@ } catch (IOException e) { - LOG.warn(e); + LOG.warn("",e); } super.doStop(); @@ -385,7 +385,7 @@ } catch (Exception e) { - LOG.ignore(e); + LOG.trace("",e); } } @@ -459,7 +459,7 @@ } catch (UnknownHostException e) { - LOG.ignore(e); + LOG.trace("",e); } } @@ -928,20 +928,20 @@ } catch (EofException e) { - LOG.ignore(e); + LOG.trace("",e); } catch (IOException e) { - LOG.ignore(e); + LOG.trace("",e); } catch (InterruptedException x) { // Connector has been stopped - LOG.ignore(x); + LOG.trace("",x); } catch (Throwable e) { - LOG.warn(e); + LOG.warn("",e); } } }