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

@@ -24,7 +24,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.authorize.AuthorizeException;
import org.dspace.content.factory.ContentServiceFactory;
import org.dspace.content.service.BitstreamFormatService;
@@ -43,7 +43,7 @@ public class BitstreamTest extends AbstractDSpaceObjectTest {
/**
* log4j category
*/
private static final Logger log = Logger.getLogger(BitstreamTest.class);
private static final Logger log = org.apache.logging.log4j.LogManager.getLogger(BitstreamTest.class);
protected BitstreamFormatService bitstreamFormatService = ContentServiceFactory.getInstance()