From 73b286df1246e19b7225eaaa528fc74c9b18870d Mon Sep 17 00:00:00 2001 From: Arnab Chakraborty <11457760+Rocky43007@users.noreply.github.com> Date: Thu, 27 Jun 2024 01:24:35 +0530 Subject: [PATCH] Don't want only debug logs lol --- core/src/lib.rs | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/core/src/lib.rs b/core/src/lib.rs index 726eeec7c..5fab85af1 100644 --- a/core/src/lib.rs +++ b/core/src/lib.rs @@ -235,13 +235,11 @@ impl Node { // Set a default if the user hasn't set an override if std::env::var("RUST_LOG") == Err(std::env::VarError::NotPresent) { - // let level = if cfg!(debug_assertions) { - // "debug" - // } else { - // "info" - // }; - - let level = "debug"; + let level = if cfg!(debug_assertions) { + "debug" + } else { + "info" + }; std::env::set_var( "RUST_LOG",