From 1bec325a643b29ceab6f23ba1dbba058727d318f Mon Sep 17 00:00:00 2001 From: Thomas Eizinger Date: Fri, 24 Oct 2025 15:29:01 +1100 Subject: [PATCH] feat(gateway,headless-client): set default log level to `INFO` (#10702) Currently, the default log level for both the Gateway and the headless Client is actually `error` which basically means no logs at all. To avoid having to create additional configuration as part of the Debian packages, we set the default log level to `info`. --- 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 d20cb77f6..0f7df33ac 100644 --- a/rust/logging/src/lib.rs +++ b/rust/logging/src/lib.rs @@ -46,7 +46,7 @@ where tracing::debug!("Failed to init terminal colors: {error}"); } - let directives = std::env::var("RUST_LOG").unwrap_or_default(); + let directives = std::env::var("RUST_LOG").unwrap_or_else(|_| "info".to_string()); let (filter1, reload_handle1) = try_filter(&directives).context("Failed to parse directives")?;