Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/services/DistanceInfoService.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 | 6ae0c5116d58 |
children |
comparison
equal
deleted
inserted
replaced
9725:da398790fa32 | 9726:0a5239a1e46e |
---|---|
8 | 8 |
9 package org.dive4elements.river.artifacts.services; | 9 package org.dive4elements.river.artifacts.services; |
10 | 10 |
11 import java.util.Iterator; | 11 import java.util.Iterator; |
12 | 12 |
13 import org.apache.log4j.Logger; | 13 import org.apache.logging.log4j.Logger; |
14 import org.apache.logging.log4j.LogManager; | |
14 | 15 |
15 import org.w3c.dom.Document; | 16 import org.w3c.dom.Document; |
16 import org.w3c.dom.Element; | 17 import org.w3c.dom.Element; |
17 | 18 |
18 import org.dive4elements.artifacts.CallMeta; | 19 import org.dive4elements.artifacts.CallMeta; |
32 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | 33 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> |
33 */ | 34 */ |
34 public class DistanceInfoService extends D4EService { | 35 public class DistanceInfoService extends D4EService { |
35 | 36 |
36 /** The log used in this service. */ | 37 /** The log used in this service. */ |
37 private static Logger log = Logger.getLogger(DistanceInfoService.class); | 38 private static Logger log = LogManager.getLogger(DistanceInfoService.class); |
38 | 39 |
39 public static final String RIVER_XPATH = "/art:river/text()"; | 40 public static final String RIVER_XPATH = "/art:river/text()"; |
40 | 41 |
41 public static final String FILTER_XPATH = "/art:river/art:filter/text()"; | 42 public static final String FILTER_XPATH = "/art:river/art:filter/text()"; |
42 | 43 |