Convert getLogger() and Log4J imports for Log4J 2

This commit is contained in:
Patrick Trottier
2018-03-09 17:54:01 -05:00
committed by Mark H. Wood
parent fb4e7ae9cb
commit 7f4b4e9f8a
414 changed files with 844 additions and 835 deletions

View File

@@ -30,7 +30,7 @@ import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.apache.commons.lang3.ArrayUtils;
import org.apache.log4j.Logger;
import org.apache.logging.log4j.Logger;
import org.dspace.authenticate.factory.AuthenticateServiceFactory;
import org.dspace.authenticate.service.AuthenticationService;
import org.dspace.authorize.AuthorizeException;
@@ -105,7 +105,7 @@ public class X509Authentication implements AuthenticationMethod {
/**
* log4j category
*/
private static Logger log = Logger.getLogger(X509Authentication.class);
private static Logger log = org.apache.logging.log4j.LogManager.getLogger(X509Authentication.class);
/**
* public key of CA to check client certs against.