comparison artifact-database/src/main/java/org/dive4elements/artifactdatabase/rest/Standalone.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
10 10
11 import org.dive4elements.artifacts.common.utils.XMLUtils; 11 import org.dive4elements.artifacts.common.utils.XMLUtils;
12 12
13 import org.dive4elements.artifacts.ArtifactDatabase; 13 import org.dive4elements.artifacts.ArtifactDatabase;
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.restlet.Component; 18 import org.restlet.Component;
18 import org.restlet.Server; 19 import org.restlet.Server;
19 20
20 import org.restlet.data.Protocol; 21 import org.restlet.data.Protocol;
29 * @author <a href="mailto:sascha.teichmann@intevation">Sascha L. Teichmann</a> 30 * @author <a href="mailto:sascha.teichmann@intevation">Sascha L. Teichmann</a>
30 */ 31 */
31 public class Standalone 32 public class Standalone
32 implements HTTPServer 33 implements HTTPServer
33 { 34 {
34 private static Logger logger = Logger.getLogger(Standalone.class); 35 private static Logger logger = LogManager.getLogger(Standalone.class);
35 36
36 /** 37 /**
37 * XPath to figure out the port where to listen from the 38 * XPath to figure out the port where to listen from the
38 * global configuration. 39 * global configuration.
39 */ 40 */

http://dive4elements.wald.intevation.org