Mercurial Hosting > luan
diff src/org/eclipse/jetty/server/AsyncContinuation.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 | 6b210bb66c63 |
line wrap: on
line diff
--- a/src/org/eclipse/jetty/server/AsyncContinuation.java Fri Sep 09 17:10:47 2016 -0600 +++ b/src/org/eclipse/jetty/server/AsyncContinuation.java Tue Sep 13 23:13:06 2016 -0600 @@ -40,8 +40,8 @@ import org.eclipse.jetty.server.handler.ContextHandler; import org.eclipse.jetty.server.handler.ContextHandler.Context; import org.eclipse.jetty.util.URIUtil; -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.Timeout; /* ------------------------------------------------------------ */ @@ -50,7 +50,7 @@ */ public class AsyncContinuation implements AsyncContext, Continuation { - private static final Logger LOG = Log.getLogger(AsyncContinuation.class); + private static final Logger LOG = LoggerFactory.getLogger(AsyncContinuation.class); private final static long DEFAULT_TIMEOUT=30000L; @@ -386,7 +386,7 @@ } catch(Exception e) { - LOG.warn(e); + LOG.warn("",e); } } } @@ -511,7 +511,7 @@ } catch(Exception e) { - LOG.debug(e); + LOG.debug("",e); _connection.getRequest().setAttribute(RequestDispatcher.ERROR_EXCEPTION,e); break; } @@ -527,7 +527,7 @@ } catch(Exception e) { - LOG.warn(e); + LOG.warn("",e); } } } @@ -671,7 +671,7 @@ } catch(Exception e) { - LOG.warn(e); + LOG.warn("",e); } } } @@ -685,7 +685,7 @@ } catch(Exception e) { - LOG.warn(e); + LOG.warn("",e); } } } @@ -754,7 +754,7 @@ } catch (InterruptedException e) { - LOG.ignore(e); + LOG.trace("",e); } wait=_expireAt-System.currentTimeMillis(); }