diff src/org/eclipse/jetty/util/security/Password.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
line wrap: on
line diff
--- a/src/org/eclipse/jetty/util/security/Password.java	Fri Sep 09 17:10:47 2016 -0600
+++ b/src/org/eclipse/jetty/util/security/Password.java	Tue Sep 13 23:13:06 2016 -0600
@@ -21,8 +21,8 @@
 import java.io.IOException;
 import java.util.Arrays;
 
-import org.eclipse.jetty.util.log.Log;
-import org.eclipse.jetty.util.log.Logger;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 /* ------------------------------------------------------------ */
 /**
@@ -54,7 +54,7 @@
  */
 public class Password extends Credential
 {
-    private static final Logger LOG = Log.getLogger(Password.class);
+    private static final Logger LOG = LoggerFactory.getLogger(Password.class);
 
     private static final long serialVersionUID = 5062906681431569445L;
 
@@ -228,7 +228,7 @@
             }
             catch (IOException e)
             {
-                LOG.warn(Log.EXCEPTION, e);
+                LOG.warn("EXCEPTION", e);
             }
             if (passwd == null || passwd.length() == 0) passwd = promptDft;
         }