Mercurial Hosting > luan
diff src/org/eclipse/jetty/io/nio/ChannelEndPoint.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 | 220ad4853cda |
line wrap: on
line diff
--- a/src/org/eclipse/jetty/io/nio/ChannelEndPoint.java Fri Sep 09 17:10:47 2016 -0600 +++ b/src/org/eclipse/jetty/io/nio/ChannelEndPoint.java Tue Sep 13 23:13:06 2016 -0600 @@ -31,8 +31,8 @@ import org.eclipse.jetty.io.Buffer; import org.eclipse.jetty.io.EndPoint; import org.eclipse.jetty.util.StringUtil; -import org.eclipse.jetty.util.log.Log; -import org.eclipse.jetty.util.log.Logger; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; /** * Channel End Point. @@ -41,7 +41,7 @@ */ public class ChannelEndPoint implements EndPoint { - private static final Logger LOG = Log.getLogger(ChannelEndPoint.class); + private static final Logger LOG = LoggerFactory.getLogger(ChannelEndPoint.class); protected final ByteChannel _channel; protected final ByteBuffer[] _gather2=new ByteBuffer[2]; @@ -131,7 +131,7 @@ catch (SocketException e) { LOG.debug(e.toString()); - LOG.ignore(e); + LOG.trace("",e); } finally { @@ -170,7 +170,7 @@ catch (SocketException e) { LOG.debug(e.toString()); - LOG.ignore(e); + LOG.trace("",e); } finally { @@ -259,7 +259,7 @@ } catch (Exception xx) { - LOG.ignore(xx); + LOG.trace("",xx); } if (len>0)