Mercurial > dive4elements > framework
comparison artifact-database/src/main/java/org/dive4elements/artifactdatabase/FactoryBootstrap.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 |
---|---|
24 import org.dive4elements.artifactdatabase.rest.HTTPServer; | 24 import org.dive4elements.artifactdatabase.rest.HTTPServer; |
25 | 25 |
26 import java.util.ArrayList; | 26 import java.util.ArrayList; |
27 import java.util.List; | 27 import java.util.List; |
28 | 28 |
29 import org.apache.log4j.Logger; | 29 import org.apache.logging.log4j.Logger; |
30 import org.apache.logging.log4j.LogManager; | |
30 | 31 |
31 import org.w3c.dom.Document; | 32 import org.w3c.dom.Document; |
32 import org.w3c.dom.Node; | 33 import org.w3c.dom.Node; |
33 import org.w3c.dom.NodeList; | 34 import org.w3c.dom.NodeList; |
34 | 35 |
37 * | 38 * |
38 * @author <a href="mailto:sascha.teichmann@intevation.de">Sascha L. Teichmann</a> | 39 * @author <a href="mailto:sascha.teichmann@intevation.de">Sascha L. Teichmann</a> |
39 */ | 40 */ |
40 public class FactoryBootstrap | 41 public class FactoryBootstrap |
41 { | 42 { |
42 private static Logger logger = Logger.getLogger(FactoryBootstrap.class); | 43 private static Logger logger = LogManager.getLogger(FactoryBootstrap.class); |
43 | 44 |
44 /** | 45 /** |
45 * XPath to figure out the class name of the context factory from | 46 * XPath to figure out the class name of the context factory from |
46 * the global configuration. | 47 * the global configuration. |
47 */ | 48 */ |