Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/context/RiverContext.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 | f98598cf798c |
children |
comparison
equal
deleted
inserted
replaced
9725:da398790fa32 | 9726:0a5239a1e46e |
---|---|
6 * documentation coming with Dive4Elements River for details. | 6 * documentation coming with Dive4Elements River for details. |
7 */ | 7 */ |
8 | 8 |
9 package org.dive4elements.river.artifacts.context; | 9 package org.dive4elements.river.artifacts.context; |
10 | 10 |
11 import org.apache.log4j.Logger; | 11 import org.apache.logging.log4j.Logger; |
12 import org.apache.logging.log4j.LogManager; | |
12 | 13 |
13 import org.w3c.dom.Document; | 14 import org.w3c.dom.Document; |
14 | 15 |
15 import org.dive4elements.artifactdatabase.DefaultArtifactContext; | 16 import org.dive4elements.artifactdatabase.DefaultArtifactContext; |
16 import org.dive4elements.artifacts.CallContext; | 17 import org.dive4elements.artifacts.CallContext; |
24 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | 25 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> |
25 */ | 26 */ |
26 public class RiverContext extends DefaultArtifactContext { | 27 public class RiverContext extends DefaultArtifactContext { |
27 | 28 |
28 /** The log used in this class. */ | 29 /** The log used in this class. */ |
29 private static Logger log = Logger.getLogger(RiverContext.class); | 30 private static Logger log = LogManager.getLogger(RiverContext.class); |
30 | 31 |
31 /** The key that is used to store the StateEngine in the context. */ | 32 /** The key that is used to store the StateEngine in the context. */ |
32 public static final String ARTIFACT_KEY = | 33 public static final String ARTIFACT_KEY = |
33 "artifact"; | 34 "artifact"; |
34 | 35 |