Mercurial > hg > AnnotationManagerN4J
diff src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorResources.java @ 75:25eb2e1df106
change logging to java.util.logging.
author | casties |
---|---|
date | Fri, 21 Mar 2014 13:32:41 +0100 |
parents | 2b1e6df5e21a |
children | cf44d9e1a4a7 |
line wrap: on
line diff
--- a/src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorResources.java Wed Mar 12 12:42:28 2014 +0100 +++ b/src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorResources.java Fri Mar 21 13:32:41 2014 +0100 @@ -61,7 +61,7 @@ */ @Get("json") public Representation doGetJSON(Representation entity) { - logger.debug("AnnotatorResources doGetJSON!"); + logger.fine("AnnotatorResources doGetJSON!"); setCorsHeaders(); String jsonId = (String) getRequest().getAttributes().get("id"); @@ -75,7 +75,7 @@ } String uri = decodeJsonId(jsonId); - logger.debug("resources-id=" + uri); + logger.fine("resources-id=" + uri); if (uri == null) { return getAllResources(); @@ -122,8 +122,8 @@ setStatus(Status.SERVER_ERROR_INTERNAL, "JSON Error"); return null; } - logger.debug("sending:"); - logger.debug(result); + logger.fine("sending:"); + logger.fine(result.toString()); return new JsonRepresentation(result); }