comparison src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorSearch.java @ 89:247cbbb385de

improved logging.
author casties
date Wed, 04 Feb 2015 19:37:02 +0100
parents b406507a953d
children cf44d9e1a4a7
comparison
equal deleted inserted replaced
88:b406507a953d 89:247cbbb385de
117 } catch (JSONException e) { 117 } catch (JSONException e) {
118 setStatus(Status.SERVER_ERROR_INTERNAL, "JSON Error"); 118 setStatus(Status.SERVER_ERROR_INTERNAL, "JSON Error");
119 return null; 119 return null;
120 } 120 }
121 121
122 logger.fine("sending:"); 122 logger.fine("sending response");
123 logger.fine(result.toString()); 123 logger.finest(result.toString());
124 return new JsonRepresentation(result); 124 return new JsonRepresentation(result);
125 } 125 }
126 126
127 } 127 }