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`.
This commit is contained in:
Thomas Eizinger
2025-10-24 15:29:01 +11:00
committed by GitHub
parent fbf1a1e322
commit 1bec325a64

View File

@@ -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")?;