Mercurial > dive4elements > framework
comparison artifact-database/src/main/java/org/dive4elements/artifactdatabase/rest/ExportResource.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 |
---|---|
9 package org.dive4elements.artifactdatabase.rest; | 9 package org.dive4elements.artifactdatabase.rest; |
10 | 10 |
11 import org.dive4elements.artifacts.ArtifactDatabase; | 11 import org.dive4elements.artifacts.ArtifactDatabase; |
12 import org.dive4elements.artifacts.ArtifactDatabaseException; | 12 import org.dive4elements.artifacts.ArtifactDatabaseException; |
13 | 13 |
14 import org.apache.log4j.Logger; | 14 import org.apache.logging.log4j.Logger; |
15 import org.apache.logging.log4j.LogManager; | |
15 | 16 |
16 import org.restlet.Request; | 17 import org.restlet.Request; |
17 import org.restlet.Response; | 18 import org.restlet.Response; |
18 | 19 |
19 import org.restlet.data.MediaType; | 20 import org.restlet.data.MediaType; |
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 ExportResource | 36 public class ExportResource |
36 extends BaseResource | 37 extends BaseResource |
37 { | 38 { |
38 private static Logger logger = Logger.getLogger(ExportResource.class); | 39 private static Logger logger = LogManager.getLogger(ExportResource.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 = "/export/{uuid}"; | 44 public static final String PATH = "/export/{uuid}"; |