From 14cabafa6a018fce3d74f83f55bdc446e937ac9b Mon Sep 17 00:00:00 2001 From: Thomas Eizinger Date: Thu, 15 May 2025 10:23:01 +1000 Subject: [PATCH] chore(rust): set `opentelemetry` to INFO (#9146) This is currently spammy on DEBUG for all platforms where we don't collect metrics. --- rust/logging/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/logging/src/lib.rs b/rust/logging/src/lib.rs index 614f6467d..d9ffe6b56 100644 --- a/rust/logging/src/lib.rs +++ b/rust/logging/src/lib.rs @@ -94,7 +94,7 @@ fn parse_filter(directives: &str) -> Result { /// By prepending this directive to the active log filter, a simple directive like `debug` actually produces useful logs. /// If necessary, you can still activate logs from these crates by restating them in your directive with a lower filter, i.e. `netlink_proto=debug`. const IRRELEVANT_CRATES: &str = - "netlink_proto=warn,os_info=warn,rustls=warn,opentelemetry_sdk=info"; + "netlink_proto=warn,os_info=warn,rustls=warn,opentelemetry_sdk=info,opentelemetry=info"; let env_filter = if directives.is_empty() { EnvFilter::try_new(IRRELEVANT_CRATES)?