Mercurial > dive4elements > framework
comparison artifact-database/src/main/java/org/dive4elements/artifactdatabase/rest/ServicesResource.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 |
---|---|
12 import org.dive4elements.artifacts.common.utils.XMLUtils.ElementCreator; | 12 import org.dive4elements.artifacts.common.utils.XMLUtils.ElementCreator; |
13 | 13 |
14 import org.dive4elements.artifacts.ArtifactDatabase; | 14 import org.dive4elements.artifacts.ArtifactDatabase; |
15 import org.dive4elements.artifacts.ArtifactNamespaceContext; | 15 import org.dive4elements.artifacts.ArtifactNamespaceContext; |
16 | 16 |
17 import org.apache.log4j.Logger; | 17 import org.apache.logging.log4j.Logger; |
18 import org.apache.logging.log4j.LogManager; | |
18 | 19 |
19 import org.restlet.data.MediaType; | 20 import org.restlet.data.MediaType; |
20 | 21 |
21 import org.restlet.ext.xml.DomRepresentation; | 22 import org.restlet.ext.xml.DomRepresentation; |
22 | 23 |
33 * @author <a href="mailto:sascha.teichmann@intevation">Sascha L. Teichmann</a> | 34 * @author <a href="mailto:sascha.teichmann@intevation">Sascha L. Teichmann</a> |
34 */ | 35 */ |
35 public class ServicesResource | 36 public class ServicesResource |
36 extends BaseResource | 37 extends BaseResource |
37 { | 38 { |
38 private static Logger logger = Logger.getLogger(ServicesResource.class); | 39 private static Logger logger = LogManager.getLogger(ServicesResource.class); |
39 | 40 |
40 /** | 41 /** |
41 * server URL where to reach the resource. | 42 * server URL where to reach the resource. |
42 */ | 43 */ |
43 public static final String PATH = "/services"; | 44 public static final String PATH = "/services"; |