Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/context/RiverContextFactory.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 | 7227621f8496 |
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 | 22 |
22 import org.dive4elements.artifactdatabase.state.State; | 23 import org.dive4elements.artifactdatabase.state.State; |
23 import org.dive4elements.artifactdatabase.state.StateEngine; | 24 import org.dive4elements.artifactdatabase.state.StateEngine; |
24 | 25 |
25 import org.dive4elements.artifactdatabase.transition.Transition; | 26 import org.dive4elements.artifactdatabase.transition.Transition; |
63 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | 64 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> |
64 */ | 65 */ |
65 public class RiverContextFactory implements ArtifactContextFactory { | 66 public class RiverContextFactory implements ArtifactContextFactory { |
66 | 67 |
67 /** The log that is used in this class. */ | 68 /** The log that is used in this class. */ |
68 private static Logger log = Logger.getLogger(RiverContextFactory.class); | 69 private static Logger log = LogManager.getLogger(RiverContextFactory.class); |
69 | 70 |
70 /** The XPath to the artifacts configured in the configuration. */ | 71 /** The XPath to the artifacts configured in the configuration. */ |
71 public static final String XPATH_ARTIFACTS = | 72 public static final String XPATH_ARTIFACTS = |
72 "/artifact-database/artifacts/artifact"; | 73 "/artifact-database/artifacts/artifact"; |
73 | 74 |