comparison artifacts/src/main/java/org/dive4elements/river/artifacts/services/DischargeInfoService.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
comparison
equal deleted inserted replaced
9725:da398790fa32 9726:0a5239a1e46e
10 10
11 import java.util.Collections; 11 import java.util.Collections;
12 import java.util.List; 12 import java.util.List;
13 import java.util.Date; 13 import java.util.Date;
14 14
15 import org.apache.log4j.Logger; 15 import org.apache.logging.log4j.Logger;
16 import org.apache.logging.log4j.LogManager;
16 17
17 import org.w3c.dom.Document; 18 import org.w3c.dom.Document;
18 import org.w3c.dom.Element; 19 import org.w3c.dom.Element;
19 20
20 import org.dive4elements.artifacts.CallMeta; 21 import org.dive4elements.artifacts.CallMeta;
34 * @author <a href="mailto:raimund.renkert@intevation.de">Raimund Renkert</a> 35 * @author <a href="mailto:raimund.renkert@intevation.de">Raimund Renkert</a>
35 */ 36 */
36 public class DischargeInfoService extends D4EService { 37 public class DischargeInfoService extends D4EService {
37 38
38 /** The log used in this service. */ 39 /** The log used in this service. */
39 private static Logger log = Logger.getLogger(DischargeInfoService.class); 40 private static Logger log = LogManager.getLogger(DischargeInfoService.class);
40 41
41 public static final String GAUGE_XPATH = "/art:gauge/text()"; 42 public static final String GAUGE_XPATH = "/art:gauge/text()";
42 43
43 public static final String RIVER_NAME_XPATH = 44 public static final String RIVER_NAME_XPATH =
44 "/art:gauge/art:river/text()"; 45 "/art:gauge/art:river/text()";

http://dive4elements.wald.intevation.org