Skip to content

Commit

Permalink
logs around variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Giorgio Trettenero committed Dec 11, 2024
1 parent cb98913 commit 97cd110
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,12 @@ public <R> R processRequest(
log.info("------------------------------------------------");
String clientAppName = MetacatContextManager.getContext().getClientAppName();
if (clientAppName == null) {
log.info("------------------------------------------------");
log.info(clientAppName);
clientAppName = "I SET IT NULL";
log.info(clientAppName);
log.info("------------------------------------------------");

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

0 comments on commit 97cd110

Please sign in to comment.