Mercurial > dive4elements > framework
comparison artifact-database/src/main/java/org/dive4elements/artifactdatabase/rest/CreateResource.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 | 408fd2cb7bb5 |
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.Response; | 22 import org.restlet.Response; |
22 | 23 |
23 import org.restlet.data.MediaType; | 24 import org.restlet.data.MediaType; |
24 import org.restlet.data.Status; | 25 import org.restlet.data.Status; |
37 * @author <a href="mailto:sascha.teichmann@intevation">Sascha L. Teichmann</a> | 38 * @author <a href="mailto:sascha.teichmann@intevation">Sascha L. Teichmann</a> |
38 */ | 39 */ |
39 public class CreateResource | 40 public class CreateResource |
40 extends BaseResource | 41 extends BaseResource |
41 { | 42 { |
42 private static Logger logger = Logger.getLogger(CreateResource.class); | 43 private static Logger logger = LogManager.getLogger(CreateResource.class); |
43 | 44 |
44 /** | 45 /** |
45 * server URL where to reach the resource. | 46 * server URL where to reach the resource. |
46 */ | 47 */ |
47 public static final String PATH = "/create"; | 48 public static final String PATH = "/create"; |