Mercurial Hosting > luan
diff src/org/eclipse/jetty/http/HttpFields.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 | 86338c0029a9 |
line wrap: on
line diff
--- a/src/org/eclipse/jetty/http/HttpFields.java Fri Sep 09 17:10:47 2016 -0600 +++ b/src/org/eclipse/jetty/http/HttpFields.java Tue Sep 13 23:13:06 2016 -0600 @@ -49,8 +49,8 @@ import org.eclipse.jetty.util.QuotedStringTokenizer; import org.eclipse.jetty.util.StringMap; 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; /* ------------------------------------------------------------ */ /** @@ -63,7 +63,7 @@ */ public class HttpFields { - private static final Logger LOG = Log.getLogger(HttpFields.class); + private static final Logger LOG = LoggerFactory.getLogger(HttpFields.class); /* ------------------------------------------------------------ */ public static final String __COOKIE_DELIM="\"\\\n\r\t\f\b%+ ;="; @@ -1093,7 +1093,7 @@ } catch (Exception e) { - LOG.warn(e); + LOG.warn("",e); return e.toString(); } }