From 36e6b9783f37a2c59bf521c7a531662c0c7e7283 Mon Sep 17 00:00:00 2001 From: Kate Anderson Date: Thu, 6 Nov 2025 15:15:32 -0800 Subject: [PATCH] Update adaptive sampler logging to INFO level --- .../com/newrelic/agent/tracing/samplers/AdaptiveSampler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/newrelic-agent/src/main/java/com/newrelic/agent/tracing/samplers/AdaptiveSampler.java b/newrelic-agent/src/main/java/com/newrelic/agent/tracing/samplers/AdaptiveSampler.java index 21efe8c042..00ff75de6f 100644 --- a/newrelic-agent/src/main/java/com/newrelic/agent/tracing/samplers/AdaptiveSampler.java +++ b/newrelic-agent/src/main/java/com/newrelic/agent/tracing/samplers/AdaptiveSampler.java @@ -36,7 +36,7 @@ protected AdaptiveSampler(int target, int reportPeriodSeconds){ this.sampledCount = 0; this.sampledCountLast = 0; this.firstPeriod = true; - NewRelic.getAgent().getLogger().log(Level.FINE, "Started Adaptive Sampler with sampling target " + this.target + " and report period " + + NewRelic.getAgent().getLogger().log(Level.INFO, "Started Adaptive Sampler with sampling target " + this.target + " and report period " + reportPeriodSeconds + " seconds."); } @@ -67,7 +67,7 @@ public static synchronized AdaptiveSampler getSharedInstance(){ */ public static synchronized void setSharedTarget(int newTarget) { if (SAMPLER_SHARED_INSTANCE != null) { - NewRelic.getAgent().getLogger().log(Level.FINE, "Updating shared Adaptive Sampler sampling target to " + newTarget); + NewRelic.getAgent().getLogger().log(Level.INFO, "Updating shared Adaptive Sampler sampling target to " + newTarget); getSharedInstance().setTarget(newTarget); ServiceFactory.getStatsService()