From 7bd9978d2346ed31414972b89dc79021ef04c232 Mon Sep 17 00:00:00 2001 From: Benjamin Smith Date: Tue, 26 Sep 2023 10:54:40 +0200 Subject: [PATCH] add logs back into tracing (#13) --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index 856f743..3b3ee92 100644 --- a/src/main.rs +++ b/src/main.rs @@ -26,6 +26,7 @@ async fn main() -> Result<()> { dotenv().ok(); // Couldn't load multiple Env Vars without this! let args = Arguments::parse(); let subscriber = tracing_subscriber::FmtSubscriber::builder() + .with_env_filter(env::var("RUST_LOGS").unwrap_or("info,arak=debug".to_string())) .with_ansi(false) .finish();