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

committed by
Mark H. Wood

parent
fb4e7ae9cb
commit
7f4b4e9f8a
@@ -25,7 +25,7 @@ import java.util.List;
|
||||
import java.util.UUID;
|
||||
|
||||
import mockit.NonStrictExpectations;
|
||||
import org.apache.log4j.Logger;
|
||||
import org.apache.logging.log4j.Logger;
|
||||
import org.dspace.app.util.AuthorizeUtil;
|
||||
import org.dspace.authorize.AuthorizeException;
|
||||
import org.dspace.core.Constants;
|
||||
@@ -45,7 +45,7 @@ public class CommunityTest extends AbstractDSpaceObjectTest {
|
||||
/**
|
||||
* log4j category
|
||||
*/
|
||||
private static final Logger log = Logger.getLogger(CommunityTest.class);
|
||||
private static final Logger log = org.apache.logging.log4j.LogManager.getLogger(CommunityTest.class);
|
||||
|
||||
/**
|
||||
* Community instance for the tests
|
||||
|
Reference in New Issue
Block a user