From 39ab937271e510de5fd07b45acf7bc7a630ff247 Mon Sep 17 00:00:00 2001 From: Jonathan Whitaker Date: Thu, 28 May 2026 15:45:51 -0600 Subject: [PATCH] tracing: log v2-enabled message at info level The "v2 tracing is enabled; skipping v0 tracer configuration" message was emitted through cfg.Logger, a log.Wrapper. Wrapper is documented for unexpected/recoverable errors and defaults to ErrorWithSentryWrapper, so this informational message was being logged at ERROR level and captured by Sentry. Switch to log.Info so it respects the global logger's level (suppressed when configured at ERROR) and never reaches Sentry. --- tracing/tracer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tracing/tracer.go b/tracing/tracer.go index a5234c3d6..18e759a82 100644 --- a/tracing/tracer.go +++ b/tracing/tracer.go @@ -85,7 +85,7 @@ type Tracer struct { // and the error will be logged if logger is non-nil. func InitGlobalTracer(cfg Config) error { if internalv2compat.V2TracingEnabled() { - cfg.Logger.Log(context.Background(), `v2 tracing is enabled; skipping v0 tracer configuration`) + log.Info(`v2 tracing is enabled; skipping v0 tracer configuration`) return nil } var tracer Tracer