src/main/java: update log4j usage

Untested, but compiles.
This commit is contained in:
Alan Orth 2023-12-28 10:17:24 +03:00
parent ea9f669e9c
commit 408a0e1c19
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -8,7 +8,8 @@ package io.github.ilri.cgspace.ctasks;
import com.google.gson.Gson;
import org.apache.log4j.Logger;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.dspace.authorize.AuthorizeException;
import org.dspace.content.DSpaceObject;
import org.dspace.content.Item;
@ -33,7 +34,7 @@ public class CountryCodeTagger extends AbstractCurationTask {
private final String iso3166Alpha2Field = taskProperty("iso3166-alpha2.field");
private final boolean forceupdate = taskBooleanProperty("forceupdate", false);
private Logger log = Logger.getLogger(CountryCodeTagger.class);
private final Logger log = LogManager.getLogger();
}
public class CountryCodeTaggerResult {