Ignore:
Timestamp:
Mar 21, 2014, 12:32:41 PM (10 years ago)
Author:
casties
Branch:
default
Message:

change logging to java.util.logging.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/de/mpiwg/itgroup/annotations/restlet/annotations_ui/AnnotationResource.java

    r70 r75  
    2828import java.io.UnsupportedEncodingException;
    2929import java.net.URLDecoder;
    30 
    31 import org.apache.log4j.Logger;
     30import java.util.logging.Logger;
     31
    3232import org.restlet.data.Form;
    3333import org.restlet.data.MediaType;
     
    5454public class AnnotationResource extends ServerResource {
    5555
    56     public static Logger logger = Logger.getLogger(AnnotationResource.class);
     56    public static Logger logger = Logger.getLogger("de.mpiwg.itgroup.annotations.restlet.annotations_ui.AnnotationResource");
    5757
    5858    protected AnnotationStore store;
     
    6767        // id from URI /annotations/persons/{id}
    6868        requestId = (String) getRequest().getAttributes().get("id");
    69         logger.debug("annoation-id=" + requestId);
     69        logger.fine("annoation-id=" + requestId);
    7070        // get store instance
    7171        if (store == null) {
     
    149149    @Put
    150150    public Representation doPut(Representation entity) {
    151         logger.debug("AnnotationResource.doPut!");
     151        logger.fine("AnnotationResource.doPut!");
    152152        if (annotation == null) {
    153153            // invalid id
     
    186186    @Delete
    187187    public Representation doDelete(Representation entity) {
    188         logger.debug("AnnotationResource.doDelete!");
     188        logger.fine("AnnotationResource.doDelete!");
    189189        if (annotation == null) {
    190190            // invalid id
Note: See TracChangeset for help on using the changeset viewer.