From 65ea518542af0b41b346913248f2597699c6f5a3 Mon Sep 17 00:00:00 2001 From: asonix Date: Sat, 30 Sep 2023 16:28:04 -0500 Subject: [PATCH] Default log level to info --- defaults.toml | 2 +- src/config/defaults.rs | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/defaults.toml b/defaults.toml index 3b2ad71..f90a603 100644 --- a/defaults.toml +++ b/defaults.toml @@ -9,7 +9,7 @@ timeout = 30 [tracing.logging] format = "normal" -targets = "warn,tracing_actix_web=info,actix_server=info,actix_web=info" +targets = "info" [tracing.console] buffer_capacity = 102400 diff --git a/src/config/defaults.rs b/src/config/defaults.rs index bec933b..8aa32bd 100644 --- a/src/config/defaults.rs +++ b/src/config/defaults.rs @@ -194,9 +194,7 @@ impl Default for LoggingDefaults { fn default() -> Self { LoggingDefaults { format: LogFormat::Normal, - targets: "warn,tracing_actix_web=info,actix_web=info,actix_server=info" - .parse() - .expect("Valid targets string"), + targets: "info".parse().expect("Valid targets string"), } } }