mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-18 15: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
@@ -12,7 +12,7 @@ import java.text.DateFormat;
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.Date;
|
||||
|
||||
import org.apache.log4j.Logger;
|
||||
import org.apache.logging.log4j.Logger;
|
||||
import org.dspace.content.Bitstream;
|
||||
import org.dspace.core.Context;
|
||||
import org.dspace.core.I18nUtil;
|
||||
@@ -30,7 +30,7 @@ public class ResultsLogger implements ChecksumResultsCollector {
|
||||
/**
|
||||
* Usual Log4J logger.
|
||||
*/
|
||||
private static final Logger LOG = Logger.getLogger(ResultsLogger.class);
|
||||
private static final Logger LOG = org.apache.logging.log4j.LogManager.getLogger(ResultsLogger.class);
|
||||
|
||||
/**
|
||||
* Utility date format.
|
||||
|
Reference in New Issue
Block a user