comparison artifacts/src/main/java/org/dive4elements/river/artifacts/services/ServerInfoService.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
8 8
9 package org.dive4elements.river.artifacts.services; 9 package org.dive4elements.river.artifacts.services;
10 10
11 import javax.xml.xpath.XPathConstants; 11 import javax.xml.xpath.XPathConstants;
12 12
13 import org.apache.log4j.Logger; 13 import org.apache.logging.log4j.Logger;
14 import org.apache.logging.log4j.LogManager;
14 import org.dive4elements.artifacts.CallMeta; 15 import org.dive4elements.artifacts.CallMeta;
15 import org.dive4elements.artifacts.GlobalContext; 16 import org.dive4elements.artifacts.GlobalContext;
16 import org.dive4elements.artifacts.common.ArtifactNamespaceContext; 17 import org.dive4elements.artifacts.common.ArtifactNamespaceContext;
17 import org.dive4elements.artifacts.common.utils.Config; 18 import org.dive4elements.artifacts.common.utils.Config;
18 import org.dive4elements.artifacts.common.utils.XMLUtils; 19 import org.dive4elements.artifacts.common.utils.XMLUtils;
27 * @author <a href="mailto:christian.lins@intevation.de">Christian Lins</a> 28 * @author <a href="mailto:christian.lins@intevation.de">Christian Lins</a>
28 */ 29 */
29 public class ServerInfoService extends D4EService { 30 public class ServerInfoService extends D4EService {
30 31
31 /** The log used in this service.*/ 32 /** The log used in this service.*/
32 private static Logger log = Logger.getLogger(ServerInfoService.class); 33 private static Logger log = LogManager.getLogger(ServerInfoService.class);
33 34
34 private static final String XPATH_HELP_URL = 35 private static final String XPATH_HELP_URL =
35 "/artifact-database/help-url/text()"; 36 "/artifact-database/help-url/text()";
36 37
37 @Override 38 @Override

http://dive4elements.wald.intevation.org