Mercurial Hosting > luan
diff src/org/eclipse/jetty/server/ssl/SslCertificates.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 | 1c0b6841cd32 |
line wrap: on
line diff
--- a/src/org/eclipse/jetty/server/ssl/SslCertificates.java Fri Sep 09 17:10:47 2016 -0600 +++ b/src/org/eclipse/jetty/server/ssl/SslCertificates.java Tue Sep 13 23:13:06 2016 -0600 @@ -31,12 +31,12 @@ import org.eclipse.jetty.io.bio.SocketEndPoint; import org.eclipse.jetty.server.Request; import org.eclipse.jetty.util.TypeUtil; -import org.eclipse.jetty.util.log.Log; -import org.eclipse.jetty.util.log.Logger; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; public class SslCertificates { - private static final Logger LOG = Log.getLogger(SslCertificates.class); + private static final Logger LOG = LoggerFactory.getLogger(SslCertificates.class); /** * The name of the SSLSession attribute that will contain any cached information. @@ -70,7 +70,7 @@ } catch (Exception e) { - LOG.warn(Log.EXCEPTION,e); + LOG.warn("EXCEPTION",e); return null; } } @@ -139,7 +139,7 @@ } catch (Exception e) { - LOG.warn(Log.EXCEPTION,e); + LOG.warn("EXCEPTION",e); } }