killbill-uncached

jaxrs: lower to info for 404 errors No need to WARN for 404 errors. Signed-off-by:

10/15/2012 2:58:54 PM

Details

diff --git a/jaxrs/src/main/java/com/ning/billing/jaxrs/mappers/ExceptionMapperBase.java b/jaxrs/src/main/java/com/ning/billing/jaxrs/mappers/ExceptionMapperBase.java
index cf1e2d0..9308d39 100644
--- a/jaxrs/src/main/java/com/ning/billing/jaxrs/mappers/ExceptionMapperBase.java
+++ b/jaxrs/src/main/java/com/ning/billing/jaxrs/mappers/ExceptionMapperBase.java
@@ -44,12 +44,12 @@ public abstract class ExceptionMapperBase {
 
     protected Response buildNotFoundResponse(final Exception e, final UriInfo uriInfo) {
         // Log the full stacktrace
-        log.warn("Not found", e);
+        log.info("Not found", e);
         return buildNotFoundResponse(e.toString(), uriInfo);
     }
 
     protected Response buildNotFoundResponse(final String error, final UriInfo uriInfo) {
-        log.warn("Not found for {}: {}", uriInfo.getRequestUri(), error);
+        log.info("Not found for {}: {}", uriInfo.getRequestUri(), error);
         return Response.status(Status.NOT_FOUND)
                        .entity(error)
                        .type(MediaType.TEXT_PLAIN_TYPE)