Mercurial > dive4elements > framework
diff artifacts-common/src/main/java/org/dive4elements/artifacts/common/utils/Config.java @ 570:584591f8203c 3.2.x
Upgrade to Log4j 2
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Mon, 28 Feb 2022 17:41:14 +0100 |
parents | 415df0fc4fa1 |
children |
line wrap: on
line diff
--- a/artifacts-common/src/main/java/org/dive4elements/artifacts/common/utils/Config.java Fri Feb 25 16:58:11 2022 +0100 +++ b/artifacts-common/src/main/java/org/dive4elements/artifacts/common/utils/Config.java Mon Feb 28 17:41:14 2022 +0100 @@ -18,7 +18,8 @@ import javax.xml.xpath.XPathConstants; -import org.apache.log4j.Logger; +import org.apache.logging.log4j.Logger; +import org.apache.logging.log4j.LogManager; import org.w3c.dom.Document; import org.w3c.dom.Node; @@ -35,7 +36,7 @@ */ public final class Config { - private static Logger logger = Logger.getLogger(Config.class); + private static Logger logger = LogManager.getLogger(Config.class); /** * System property name where to find the configuration directory.