You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by ka...@apache.org on 2025/09/03 07:22:32 UTC
(druid) branch master updated: do not log the whole exception in CgroupUtil (#18472)
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 <14...@users.noreply.github.com>
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: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org