Mercurial > dive4elements > framework
comparison artifact-database/src/main/java/org/dive4elements/artifactdatabase/DefaultArtifactFactory.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 | 3d9d6d61d0c6 |
children |
comparison
equal
deleted
inserted
replaced
569:2b40f4bf190d | 570:584591f8203c |
---|---|
22 import org.dive4elements.artifacts.ArtifactFactory; | 22 import org.dive4elements.artifacts.ArtifactFactory; |
23 import org.dive4elements.artifacts.ArtifactSerializer; | 23 import org.dive4elements.artifacts.ArtifactSerializer; |
24 import org.dive4elements.artifacts.CallMeta; | 24 import org.dive4elements.artifacts.CallMeta; |
25 import org.dive4elements.artifacts.GlobalContext; | 25 import org.dive4elements.artifacts.GlobalContext; |
26 | 26 |
27 import org.apache.log4j.Logger; | 27 import org.apache.logging.log4j.Logger; |
28 import org.apache.logging.log4j.LogManager; | |
28 | 29 |
29 import org.w3c.dom.Document; | 30 import org.w3c.dom.Document; |
30 import org.w3c.dom.Element; | 31 import org.w3c.dom.Element; |
31 import org.w3c.dom.Node; | 32 import org.w3c.dom.Node; |
32 import org.w3c.dom.NodeList; | 33 import org.w3c.dom.NodeList; |
42 */ | 43 */ |
43 public class DefaultArtifactFactory | 44 public class DefaultArtifactFactory |
44 implements ArtifactFactory | 45 implements ArtifactFactory |
45 { | 46 { |
46 private static Logger logger = | 47 private static Logger logger = |
47 Logger.getLogger(DefaultArtifactFactory.class); | 48 LogManager.getLogger(DefaultArtifactFactory.class); |
48 | 49 |
49 /** | 50 /** |
50 * XPath to access the TTL of this artifact. | 51 * XPath to access the TTL of this artifact. |
51 */ | 52 */ |
52 public static final String XPATH_TTL = "@ttl"; | 53 public static final String XPATH_TTL = "@ttl"; |