Skip to content

Commit

Permalink
remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Giorgio Trettenero committed Dec 11, 2024
1 parent efc6414 commit a648ce1
Showing 1 changed file with 1 addition and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,19 +157,9 @@ public <R> R processRequest(

tags.put("request", resourceRequestName);
tags.put("scheme", MetacatContextManager.getContext().getScheme());
log.info("------------------------------------------------");
log.info(MetacatContextManager.getContext().toString());
log.info(MetacatContextManager.getContext().getClientAppName());
log.info("------------------------------------------------");
String clientAppName = MetacatContextManager.getContext().getClientAppName();
if (clientAppName == null) {
log.info("------------------------------------------------");
log.info(MetacatContextManager.getContext().toString());
clientAppName = "I SET IT NULL";
log.info(clientAppName);
log.info(MetacatContextManager.getContext().toString());
log.info("------------------------------------------------");

clientAppName = "UNKNOWN";
}
tags.put("caller", clientAppName);
registry.counter(requestCounterId.withTags(tags)).increment();
Expand Down

0 comments on commit a648ce1

Please sign in to comment.