This is an automated email from the ASF dual-hosted git repository.

karan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git


The following commit(s) were added to refs/heads/master by this push:
     new 6bd2a2a12b0 do not log the whole exception in CgroupUtil (#18472)
6bd2a2a12b0 is described below

commit 6bd2a2a12b0d2738de917d81ba32b1140cbb796c
Author: Abhishek Agarwal <[email protected]>
AuthorDate: Wed Sep 3 12:52:26 2025 +0530

    do not log the whole exception in CgroupUtil (#18472)
---
 .../src/main/java/org/apache/druid/java/util/metrics/CgroupUtil.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/processing/src/main/java/org/apache/druid/java/util/metrics/CgroupUtil.java 
b/processing/src/main/java/org/apache/druid/java/util/metrics/CgroupUtil.java
index 6543422f70c..9dd782eea2b 100644
--- 
a/processing/src/main/java/org/apache/druid/java/util/metrics/CgroupUtil.java
+++ 
b/processing/src/main/java/org/apache/druid/java/util/metrics/CgroupUtil.java
@@ -54,7 +54,7 @@ public class CgroupUtil
       return 
lines.stream().map(Longs::tryParse).filter(Objects::nonNull).findFirst().orElse(defaultValue);
     }
     catch (RuntimeException | IOException ex) {
-      LOG.warn(ex, "Unable to fetch %s", fileName);
+      LOG.noStackTrace().warn(ex, "Unable to fetch %s", fileName);
       return defaultValue;
     }
   }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to