Mercurial > dive4elements > http-client
comparison 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 |
comparison
equal
deleted
inserted
replaced
124:7261c948425c | 125:e602a29f1dcc |
---|---|
28 import javax.xml.xpath.XPath; | 28 import javax.xml.xpath.XPath; |
29 import javax.xml.xpath.XPathConstants; | 29 import javax.xml.xpath.XPathConstants; |
30 import javax.xml.xpath.XPathExpressionException; | 30 import javax.xml.xpath.XPathExpressionException; |
31 import javax.xml.xpath.XPathFactory; | 31 import javax.xml.xpath.XPathFactory; |
32 | 32 |
33 import org.apache.log4j.Logger; | 33 import org.apache.logging.log4j.Logger; |
34 import org.apache.logging.log4j.LogManager; | |
34 import org.w3c.dom.Attr; | 35 import org.w3c.dom.Attr; |
35 import org.w3c.dom.Document; | 36 import org.w3c.dom.Document; |
36 import org.w3c.dom.Element; | 37 import org.w3c.dom.Element; |
37 import org.w3c.dom.Node; | 38 import org.w3c.dom.Node; |
38 import org.w3c.dom.NodeList; | 39 import org.w3c.dom.NodeList; |
47 public class XMLUtils { | 48 public class XMLUtils { |
48 | 49 |
49 /** | 50 /** |
50 * the logger, used to log exceptions and additonaly information | 51 * the logger, used to log exceptions and additonaly information |
51 */ | 52 */ |
52 private static Logger logger = Logger.getLogger(XMLUtils.class); | 53 private static Logger logger = LogManager.getLogger(XMLUtils.class); |
53 | 54 |
54 /** | 55 /** |
55 * Constructor | 56 * Constructor |
56 */ | 57 */ |
57 public XMLUtils() { | 58 public XMLUtils() { |