Migration from Log4j 1.2 to Log4j 2:
This will change in many files :
// current
import org.apache.log4j.Logger;
...
public static final Logger LOG = Logger.getLogger(DictionaryCreationTool.class);
becomes:
// after
import org.apache.logging.log4j.Logger;
import org.apache.logging.log4j.LogManager;
...
public static final Logger LOG = LogManager.getLogger(DictionaryCreationTool.class);
so mostly a package change. The Logger API then has some new methods that we may use later on.
Migration from Log4j 1.2 to Log4j 2: This will change in many files :
becomes:
so mostly a package change. The Logger API then has some new methods that we may use later on.