From ad2ae7b6eb0eeb60608e5a42861efaf00fd535ed Mon Sep 17 00:00:00 2001 From: Alex Page Date: Fri, 3 Mar 2023 02:02:02 -0500 Subject: [PATCH] Reduce logging level --- src/main.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index 6fa517d..d6070f7 100644 --- a/src/main.rs +++ b/src/main.rs @@ -42,9 +42,7 @@ async fn register(ctx: CommandContext<'_>) -> Result<(), Error> { #[tokio::main] async fn main() -> Result<()> { - tracing_subscriber::fmt() - .with_max_level(filter::LevelFilter::DEBUG) - .init(); + tracing_subscriber::fmt().init(); let token = env::var("DISCORD_TOKEN").expect("Expected a bot token in the environment: DISCORD_TOKEN");