Mercurial > dive4elements > http-client
diff src/main/java/org/dive4elements/artifacts/httpclient/utils/XMLUtils.java @ 125:e602a29f1dcc 3.2.x
Upgrade to Log4j 2
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Mon, 28 Feb 2022 17:49:46 +0100 |
parents | 21a7efe056b4 |
children |
line wrap: on
line diff
--- a/src/main/java/org/dive4elements/artifacts/httpclient/utils/XMLUtils.java Fri Feb 25 15:15:04 2022 +0100 +++ b/src/main/java/org/dive4elements/artifacts/httpclient/utils/XMLUtils.java Mon Feb 28 17:49:46 2022 +0100 @@ -30,7 +30,8 @@ import javax.xml.xpath.XPathExpressionException; import javax.xml.xpath.XPathFactory; -import org.apache.log4j.Logger; +import org.apache.logging.log4j.Logger; +import org.apache.logging.log4j.LogManager; import org.w3c.dom.Attr; import org.w3c.dom.Document; import org.w3c.dom.Element; @@ -49,7 +50,7 @@ /** * the logger, used to log exceptions and additonaly information */ - private static Logger logger = Logger.getLogger(XMLUtils.class); + private static Logger logger = LogManager.getLogger(XMLUtils.class); /** * Constructor