comparison artifact-database/src/main/java/org/dive4elements/artifactdatabase/rest/CollectionResource.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
18 18
19 import java.io.IOException; 19 import java.io.IOException;
20 20
21 import javax.xml.xpath.XPathConstants; 21 import javax.xml.xpath.XPathConstants;
22 22
23 import org.apache.log4j.Logger; 23 import org.apache.logging.log4j.Logger;
24 import org.apache.logging.log4j.LogManager;
24 25
25 import org.restlet.data.MediaType; 26 import org.restlet.data.MediaType;
26 import org.restlet.data.Status; 27 import org.restlet.data.Status;
27 import org.restlet.ext.xml.DomRepresentation; 28 import org.restlet.ext.xml.DomRepresentation;
28 import org.restlet.representation.EmptyRepresentation; 29 import org.restlet.representation.EmptyRepresentation;
39 */ 40 */
40 public class CollectionResource 41 public class CollectionResource
41 extends BaseResource 42 extends BaseResource
42 { 43 {
43 /** The logger that is used in this class.*/ 44 /** The logger that is used in this class.*/
44 private static Logger logger = Logger.getLogger(CollectionResource.class); 45 private static Logger logger = LogManager.getLogger(CollectionResource.class);
45 46
46 /** server URL where to reach the resource.*/ 47 /** server URL where to reach the resource.*/
47 public static final String PATH = "/collection/{uuid}"; 48 public static final String PATH = "/collection/{uuid}";
48 49
49 /** 50 /**

http://dive4elements.wald.intevation.org