diff --git a/metacat-main/src/main/java/com/netflix/metacat/main/api/RequestWrapper.java b/metacat-main/src/main/java/com/netflix/metacat/main/api/RequestWrapper.java index 5ab189c8..304c9873 100644 --- a/metacat-main/src/main/java/com/netflix/metacat/main/api/RequestWrapper.java +++ b/metacat-main/src/main/java/com/netflix/metacat/main/api/RequestWrapper.java @@ -157,10 +157,10 @@ public R processRequest( tags.put("request", resourceRequestName); tags.put("scheme", MetacatContextManager.getContext().getScheme()); - System.out.println("------------------------------------------------"); - System.out.println(MetacatContextManager.getContext()); - System.out.println(MetacatContextManager.getContext().getClientAppName()); - System.out.println("------------------------------------------------"); + log.info("------------------------------------------------"); + log.info(MetacatContextManager.getContext().toString()); + log.info(MetacatContextManager.getContext().getClientAppName()); + log.info("------------------------------------------------"); tags.put("caller", MetacatContextManager.getContext().getClientAppName()); registry.counter(requestCounterId.withTags(tags)).increment(); @@ -249,10 +249,6 @@ public R processRequest( final long start = registry.clock().wallTime(); final Map tags = Maps.newHashMap(); tags.put("request", resourceRequestName); - System.out.println("------------------------------------------------"); - System.out.println(MetacatContextManager.getContext()); - System.out.println(MetacatContextManager.getContext().getClientAppName()); - System.out.println("------------------------------------------------"); tags.put("caller", MetacatContextManager.getContext().getClientAppName()); registry.counter(requestCounterId.withTags(tags)).increment(); try {