comparison artifacts/src/main/java/org/dive4elements/river/artifacts/services/MainValuesService.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
8 8
9 package org.dive4elements.river.artifacts.services; 9 package org.dive4elements.river.artifacts.services;
10 10
11 import java.util.List; 11 import java.util.List;
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;
42 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> 43 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
43 */ 44 */
44 public class MainValuesService extends D4EService { 45 public class MainValuesService extends D4EService {
45 46
46 /** The log that is used by this service.*/ 47 /** The log that is used by this service.*/
47 private static Logger log = Logger.getLogger(MainValuesService.class); 48 private static Logger log = LogManager.getLogger(MainValuesService.class);
48 49
49 /** XPath that points to the river definition of the incoming request.*/ 50 /** XPath that points to the river definition of the incoming request.*/
50 public static final String XPATH_RIVER = 51 public static final String XPATH_RIVER =
51 "/art:mainvalues/art:river/text()"; 52 "/art:mainvalues/art:river/text()";
52 53

http://dive4elements.wald.intevation.org