Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/collections/D4EArtifactCollection.java @ 9726:0a5239a1e46e 3.2.x
Upgrade to Log4j 2
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Wed, 02 Mar 2022 10:26:50 +0100 |
parents | 5e38e2924c07 |
children |
comparison
equal
deleted
inserted
replaced
9725:da398790fa32 | 9726:0a5239a1e46e |
---|---|
15 import java.util.List; | 15 import java.util.List; |
16 import java.util.Map; | 16 import java.util.Map; |
17 | 17 |
18 import javax.xml.xpath.XPathConstants; | 18 import javax.xml.xpath.XPathConstants; |
19 | 19 |
20 import org.apache.log4j.Logger; | 20 import org.apache.logging.log4j.Logger; |
21 import org.apache.logging.log4j.LogManager; | |
21 import org.w3c.dom.Document; | 22 import org.w3c.dom.Document; |
22 import org.w3c.dom.Element; | 23 import org.w3c.dom.Element; |
23 import org.w3c.dom.Node; | 24 import org.w3c.dom.Node; |
24 import org.w3c.dom.NodeList; | 25 import org.w3c.dom.NodeList; |
25 | 26 |
49 * Critical out and facet merging. | 50 * Critical out and facet merging. |
50 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | 51 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> |
51 */ | 52 */ |
52 public class D4EArtifactCollection extends DefaultArtifactCollection { | 53 public class D4EArtifactCollection extends DefaultArtifactCollection { |
53 /** The log used in this class. */ | 54 /** The log used in this class. */ |
54 private static Logger log = Logger.getLogger(D4EArtifactCollection.class); | 55 private static Logger log = LogManager.getLogger(D4EArtifactCollection.class); |
55 | 56 |
56 /** Constant XPath that points to the outputmodes of an artifact. */ | 57 /** Constant XPath that points to the outputmodes of an artifact. */ |
57 public static final String XPATH_ARTIFACT_OUTPUTMODES = | 58 public static final String XPATH_ARTIFACT_OUTPUTMODES = |
58 "/art:result/art:outputmodes"; | 59 "/art:result/art:outputmodes"; |
59 | 60 |