mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-16 14:33:09 +00:00
Convert getLogger() and Log4J imports for Log4J 2
This commit is contained in:

committed by
Mark H. Wood

parent
fb4e7ae9cb
commit
7f4b4e9f8a
@@ -466,7 +466,7 @@ public class EZIDIdentifierProviderTest
|
||||
PrintWriter pw = new PrintWriter(sw);
|
||||
ex.printStackTrace(pw);
|
||||
System.out.println(sw.toString());
|
||||
org.apache.log4j.Logger.getLogger(EZIDIdentifierProviderTest.class).fatal("Caught NPE", ex);
|
||||
org.apache.logging.log4j.org.apache.logging.log4j.LogManager.getLogger(EZIDIdentifierProviderTest.class).fatal("Caught NPE", ex);
|
||||
throw ex;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user