From f5f2fe3472e962885308f8845fc6323f3cab7b79 Mon Sep 17 00:00:00 2001
From: GyDi <zzzgydi@gmail.com>
Date: Fri, 18 Nov 2022 18:37:29 +0800
Subject: [PATCH] fix: change dev log level

---
 src-tauri/src/utils/init.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src-tauri/src/utils/init.rs b/src-tauri/src/utils/init.rs
index 3aeeb6c..5d6e457 100644
--- a/src-tauri/src/utils/init.rs
+++ b/src-tauri/src/utils/init.rs
@@ -44,7 +44,7 @@ fn init_log() -> Result<()> {
                 .additive(false)
                 .build("app", level),
         )
-        .build(Root::builder().appender("stdout").build(level))?;
+        .build(Root::builder().appender("stdout").build(LevelFilter::Info))?;
 
     log4rs::init_config(config)?;
 
-- 
GitLab