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.
This commit is contained in:
Charles Hall 2024-06-18 22:17:20 -07:00
parent 32e6b3b039
commit 1b51e0beec
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF

View file

@ -210,7 +210,7 @@ fn default_trusted_servers() -> Vec<OwnedServerName> {
} }
fn default_log() -> EnvFilterClone { fn default_log() -> EnvFilterClone {
"warn,state_res=warn,_=off" "info,ruma_state_res=warn"
.parse() .parse()
.expect("hardcoded env filter should be valid") .expect("hardcoded env filter should be valid")
} }