show info log in release mode

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-04-16 03:39:31 -07:00 committed by June
parent eb9a6fe426
commit c396ff5cb8
2 changed files with 3 additions and 3 deletions

View file

@ -288,8 +288,8 @@ allow_profile_lookup_federation_requests = true
# For release builds, the tracing crate is configured to only implement levels higher than error to avoid unnecessary overhead in the compiled binary from trace macros.
# For debug builds, this restriction is not applied.
#
# Defaults to "warn"
#log = "warn"
# Defaults to "info"
#log = "info"
# controls whether encrypted rooms and events are allowed (default true)
#allow_encryption = false

View file

@ -902,7 +902,7 @@ fn default_log() -> String {
if cfg!(debug_assertions) {
"debug".to_owned()
} else {
"warn,ruma_state_res=warn".to_owned()
"info".to_owned()
}
}