Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/D4EArtifact.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 | 7a51e6321a4e |
comparison
equal
deleted
inserted
replaced
9725:da398790fa32 | 9726:0a5239a1e46e |
---|---|
27 import javax.xml.xpath.XPathConstants; | 27 import javax.xml.xpath.XPathConstants; |
28 import javax.xml.bind.DatatypeConverter; | 28 import javax.xml.bind.DatatypeConverter; |
29 | 29 |
30 import net.sf.ehcache.Cache; | 30 import net.sf.ehcache.Cache; |
31 | 31 |
32 import org.apache.log4j.Logger; | 32 import org.apache.logging.log4j.Logger; |
33 import org.apache.logging.log4j.LogManager; | |
33 import org.w3c.dom.Document; | 34 import org.w3c.dom.Document; |
34 import org.w3c.dom.Element; | 35 import org.w3c.dom.Element; |
35 import org.w3c.dom.Node; | 36 import org.w3c.dom.Node; |
36 import org.w3c.dom.NodeList; | 37 import org.w3c.dom.NodeList; |
37 | 38 |
73 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | 74 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> |
74 */ | 75 */ |
75 public class D4EArtifact extends DefaultArtifact { | 76 public class D4EArtifact extends DefaultArtifact { |
76 | 77 |
77 /** The log that is used in this artifact. */ | 78 /** The log that is used in this artifact. */ |
78 private static Logger log = Logger.getLogger(D4EArtifact.class); | 79 private static Logger log = LogManager.getLogger(D4EArtifact.class); |
79 | 80 |
80 public static final String COMPUTING_CACHE = "computed.values"; | 81 public static final String COMPUTING_CACHE = "computed.values"; |
81 | 82 |
82 /** XPath that points to the input data elements of the FEED document. */ | 83 /** XPath that points to the input data elements of the FEED document. */ |
83 public static final String XPATH_FEED_INPUT = | 84 public static final String XPATH_FEED_INPUT = |