Mercurial > dive4elements > framework
comparison artifacts-common/src/main/java/org/dive4elements/artifacts/common/utils/Config.java @ 570:584591f8203c 3.2.x
Upgrade to Log4j 2
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Mon, 28 Feb 2022 17:41:14 +0100 |
parents | 415df0fc4fa1 |
children |
comparison
equal
deleted
inserted
replaced
569:2b40f4bf190d | 570:584591f8203c |
---|---|
16 import javax.xml.parsers.DocumentBuilderFactory; | 16 import javax.xml.parsers.DocumentBuilderFactory; |
17 import javax.xml.parsers.ParserConfigurationException; | 17 import javax.xml.parsers.ParserConfigurationException; |
18 | 18 |
19 import javax.xml.xpath.XPathConstants; | 19 import javax.xml.xpath.XPathConstants; |
20 | 20 |
21 import org.apache.log4j.Logger; | 21 import org.apache.logging.log4j.Logger; |
22 import org.apache.logging.log4j.LogManager; | |
22 | 23 |
23 import org.w3c.dom.Document; | 24 import org.w3c.dom.Document; |
24 import org.w3c.dom.Node; | 25 import org.w3c.dom.Node; |
25 import org.w3c.dom.NodeList; | 26 import org.w3c.dom.NodeList; |
26 | 27 |
33 * | 34 * |
34 * @author <a href="mailto:sascha.teichmann@intevation.de">Sascha L. Teichmann</a> | 35 * @author <a href="mailto:sascha.teichmann@intevation.de">Sascha L. Teichmann</a> |
35 */ | 36 */ |
36 public final class Config | 37 public final class Config |
37 { | 38 { |
38 private static Logger logger = Logger.getLogger(Config.class); | 39 private static Logger logger = LogManager.getLogger(Config.class); |
39 | 40 |
40 /** | 41 /** |
41 * System property name where to find the configuration directory. | 42 * System property name where to find the configuration directory. |
42 */ | 43 */ |
43 public static final String CONFIG_DIR = "artifact.database.dir"; | 44 public static final String CONFIG_DIR = "artifact.database.dir"; |