From 97cd110d638a3d77afa0058c1b37bb418ade66db Mon Sep 17 00:00:00 2001 From: Giorgio Trettenero Date: Wed, 11 Dec 2024 08:23:48 -0800 Subject: [PATCH] logs around variable --- .../java/com/netflix/metacat/main/api/RequestWrapper.java | 5 +++++ 1 file changed, 5 insertions(+) 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 ca981b75..eaca3f4d 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 @@ -163,7 +163,12 @@ public 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();