mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-17 15:03:18 +00:00
Convert getLogger() and Log4J imports for Log4J 2
This commit is contained in:

committed by
Mark H. Wood

parent
fb4e7ae9cb
commit
7f4b4e9f8a
@@ -22,7 +22,7 @@ import java.util.List;
|
||||
import java.util.TimeZone;
|
||||
|
||||
import mockit.NonStrictExpectations;
|
||||
import org.apache.log4j.Logger;
|
||||
import org.apache.logging.log4j.Logger;
|
||||
import org.dspace.AbstractUnitTest;
|
||||
import org.dspace.authorize.AuthorizeException;
|
||||
import org.dspace.content.factory.ContentServiceFactory;
|
||||
@@ -60,7 +60,7 @@ public class InstallItemTest extends AbstractUnitTest {
|
||||
/**
|
||||
* log4j category
|
||||
*/
|
||||
private static final Logger log = Logger.getLogger(InstallItemTest.class);
|
||||
private static final Logger log = org.apache.logging.log4j.LogManager.getLogger(InstallItemTest.class);
|
||||
|
||||
/**
|
||||
* Used to check/verify thrown exceptions in below tests
|
||||
|
Reference in New Issue
Block a user