Mercurial > dive4elements > framework
comparison artifact-database/src/main/java/org/dive4elements/artifactdatabase/rest/ArtifactResource.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 | 266b599a4819 |
children |
comparison
equal
deleted
inserted
replaced
569:2b40f4bf190d | 570:584591f8203c |
---|---|
14 import org.dive4elements.artifacts.ArtifactDatabaseException; | 14 import org.dive4elements.artifacts.ArtifactDatabaseException; |
15 import org.dive4elements.artifacts.ArtifactNamespaceContext; | 15 import org.dive4elements.artifacts.ArtifactNamespaceContext; |
16 | 16 |
17 import java.io.IOException; | 17 import java.io.IOException; |
18 | 18 |
19 import org.apache.log4j.Logger; | 19 import org.apache.logging.log4j.Logger; |
20 import org.apache.logging.log4j.LogManager; | |
20 | 21 |
21 import org.restlet.Request; | 22 import org.restlet.Request; |
22 import org.restlet.Response; | 23 import org.restlet.Response; |
23 | 24 |
24 import org.restlet.data.MediaType; | 25 import org.restlet.data.MediaType; |
44 * @author <a href="mailto:sascha.teichmann@intevation">Sascha L. Teichmann</a> | 45 * @author <a href="mailto:sascha.teichmann@intevation">Sascha L. Teichmann</a> |
45 */ | 46 */ |
46 public class ArtifactResource | 47 public class ArtifactResource |
47 extends BaseResource | 48 extends BaseResource |
48 { | 49 { |
49 private static Logger logger = Logger.getLogger(ArtifactResource.class); | 50 private static Logger logger = LogManager.getLogger(ArtifactResource.class); |
50 | 51 |
51 /** | 52 /** |
52 * XPath to figure out the type of action (feed, advance) via the | 53 * XPath to figure out the type of action (feed, advance) via the |
53 * incoming POST request. | 54 * incoming POST request. |
54 */ | 55 */ |