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
parent
7784749bca
commit
9f7940d56f
|
@ -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()?;
|
||||
|
||||
|
|
Loading…
Reference in New Issue