diff --git a/util/src/logger.rs b/util/src/logger.rs index b441ea746..1afaf05d8 100644 --- a/util/src/logger.rs +++ b/util/src/logger.rs @@ -107,8 +107,11 @@ pub fn init_test_logger() { if *was_init_ref.deref() { return; } + let mut logger = LoggingConfig::default(); + logger.log_to_file = false; + logger.stdout_log_level = LogLevel::Debug; let mut config_ref = LOGGING_CONFIG.lock().unwrap(); - *config_ref = LoggingConfig::default(); + *config_ref = logger; *was_init_ref = true; }