Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/exports/injector/KmFromRequestInjector.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 | a805211690f7 |
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.exports.injector; | 9 package org.dive4elements.river.exports.injector; |
10 | 10 |
11 import org.apache.log4j.Logger; | 11 import org.apache.logging.log4j.Logger; |
12 import org.apache.logging.log4j.LogManager; | |
12 import org.dive4elements.artifacts.Artifact; | 13 import org.dive4elements.artifacts.Artifact; |
13 import org.dive4elements.artifacts.ArtifactNamespaceContext; | 14 import org.dive4elements.artifacts.ArtifactNamespaceContext; |
14 import org.dive4elements.artifacts.CallContext; | 15 import org.dive4elements.artifacts.CallContext; |
15 import org.dive4elements.artifacts.ContextInjector; | 16 import org.dive4elements.artifacts.ContextInjector; |
16 import org.dive4elements.artifacts.common.utils.XMLUtils; | 17 import org.dive4elements.artifacts.common.utils.XMLUtils; |
23 | 24 |
24 | 25 |
25 public class KmFromRequestInjector | 26 public class KmFromRequestInjector |
26 implements ContextInjector | 27 implements ContextInjector |
27 { | 28 { |
28 private static final Logger log = Logger.getLogger( | 29 private static final Logger log = LogManager.getLogger( |
29 KmFromRequestInjector.class); | 30 KmFromRequestInjector.class); |
30 | 31 |
31 public static final String XPATH_CHART_CURRENTKM = | 32 public static final String XPATH_CHART_CURRENTKM = |
32 "/art:action/art:attributes/art:currentKm/@art:km"; | 33 "/art:action/art:attributes/art:currentKm/@art:km"; |
33 @Override | 34 @Override |