From c22229bdf71c880b468d6e0a356fff973c6d5eaf Mon Sep 17 00:00:00 2001 From: 18209 Date: Mon, 19 Jan 2026 14:10:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=97=A5=E5=BF=97=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- logSet.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/logSet.go b/logSet.go index 6ef5b31..6fa57c2 100644 --- a/logSet.go +++ b/logSet.go @@ -12,8 +12,8 @@ func logInitial() { multiWriter := io.MultiWriter(os.Stdout, &lumberjack.Logger{ Filename: "./logs/logInfo.log", - MaxSize: 1, // megabytes - MaxBackups: 10, + MaxSize: 10, // megabytes + MaxBackups: 100, MaxAge: 30, //days //Compress: true, })