From 1b51e0beecbf09867d27f57f86081abd4ecc61b2 Mon Sep 17 00:00:00 2001 From: Charles Hall Date: Tue, 18 Jun 2024 22:17:20 -0700 Subject: [PATCH] increase the default log level The vast majority of spans are at the info level, so increasing the log level to info will greatly increase the amount of (useful!) inforamtion included in the logs. However, `ruma_state_res` generates a substantial amount of logs, so that one gets to stay fixed at `warn` for now. --- src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.rs b/src/config.rs index 89b91dec..5792b8b8 100644 --- a/src/config.rs +++ b/src/config.rs @@ -210,7 +210,7 @@ fn default_trusted_servers() -> Vec { } fn default_log() -> EnvFilterClone { - "warn,state_res=warn,_=off" + "info,ruma_state_res=warn" .parse() .expect("hardcoded env filter should be valid") }