Mercurial > dive4elements > framework
comparison artifacts-common/src/main/java/org/dive4elements/artifacts/common/utils/XMLUtils.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 | e781b847fdca |
children |
comparison
equal
deleted
inserted
replaced
569:2b40f4bf190d | 570:584591f8203c |
---|---|
47 import javax.xml.xpath.XPathConstants; | 47 import javax.xml.xpath.XPathConstants; |
48 import javax.xml.xpath.XPathExpressionException; | 48 import javax.xml.xpath.XPathExpressionException; |
49 import javax.xml.xpath.XPathFactory; | 49 import javax.xml.xpath.XPathFactory; |
50 import javax.xml.xpath.XPathVariableResolver; | 50 import javax.xml.xpath.XPathVariableResolver; |
51 | 51 |
52 import org.apache.log4j.Logger; | 52 import org.apache.logging.log4j.Logger; |
53 import org.apache.logging.log4j.LogManager; | |
53 | 54 |
54 import org.w3c.dom.Attr; | 55 import org.w3c.dom.Attr; |
55 import org.w3c.dom.Document; | 56 import org.w3c.dom.Document; |
56 import org.w3c.dom.Element; | 57 import org.w3c.dom.Element; |
57 import org.w3c.dom.Node; | 58 import org.w3c.dom.Node; |
73 | 74 |
74 /** W3C prefix of XForms. */ | 75 /** W3C prefix of XForms. */ |
75 public static final String XFORM_PREFIX = "xform"; | 76 public static final String XFORM_PREFIX = "xform"; |
76 | 77 |
77 /** Logger for this class. */ | 78 /** Logger for this class. */ |
78 private static Logger logger = Logger.getLogger(XMLUtils.class); | 79 private static Logger logger = LogManager.getLogger(XMLUtils.class); |
79 | 80 |
80 private XMLUtils() { | 81 private XMLUtils() { |
81 } | 82 } |
82 | 83 |
83 /** | 84 /** |