fix: set default logging level to info (#24851)

When running influxdb3 we did not have a default log level. As a result we
couldn't even see if the program was even running. This change provides a
default level unless a user supplied one is given.
pull/24852/head
Michael Gattozzi 2024-03-28 14:15:57 -04:00 committed by GitHub
parent 7784749bca
commit 9f7940d56f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -262,6 +262,7 @@ fn init_logs_and_tracing(
config: &trogging::cli::LoggingConfig,
) -> Result<TroggingGuard, trogging::Error> {
let log_layer = trogging::Builder::new()
.with_default_log_filter("info")
.with_logging_config(config)
.build()?;