Mercurial > dive4elements > framework
comparison artifact-database/src/main/java/org/dive4elements/artifactdatabase/rest/ArtifactOutResource.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.ArtifactDatabase; | 11 import org.dive4elements.artifacts.ArtifactDatabase; |
12 import org.dive4elements.artifacts.ArtifactDatabaseException; | 12 import org.dive4elements.artifacts.ArtifactDatabaseException; |
13 import org.dive4elements.artifacts.CallMeta; | 13 import org.dive4elements.artifacts.CallMeta; |
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.Request; | 18 import org.restlet.Request; |
18 | 19 |
19 import org.w3c.dom.Document; | 20 import org.w3c.dom.Document; |
20 | 21 |
29 /** | 30 /** |
30 * server URL where to find the resource. | 31 * server URL where to find the resource. |
31 */ | 32 */ |
32 public static final String PATH = "/artifact/{uuid}/{type}"; | 33 public static final String PATH = "/artifact/{uuid}/{type}"; |
33 | 34 |
34 private static Logger logger = Logger.getLogger(ArtifactOutResource.class); | 35 private static Logger logger = LogManager.getLogger(ArtifactOutResource.class); |
35 | 36 |
36 | 37 |
37 /** | 38 /** |
38 * Returns the identifier of the collection. | 39 * Returns the identifier of the collection. |
39 * | 40 * |