From c396ff5cb8ba8c6d977cd0da9e516e60a217417a Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Tue, 16 Apr 2024 03:39:31 -0700 Subject: [PATCH] show info log in release mode Signed-off-by: Jason Volk --- conduwuit-example.toml | 4 ++-- src/config/mod.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/conduwuit-example.toml b/conduwuit-example.toml index 65a012a9..933dbeb6 100644 --- a/conduwuit-example.toml +++ b/conduwuit-example.toml @@ -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 diff --git a/src/config/mod.rs b/src/config/mod.rs index 599b8cd8..ae1df429 100644 --- a/src/config/mod.rs +++ b/src/config/mod.rs @@ -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() } }