From 488d17078787bf50545a23c488fdbe4c75dfa32f Mon Sep 17 00:00:00 2001 From: 18209 Date: Mon, 19 Jan 2026 15:37:56 +0800 Subject: [PATCH] =?UTF-8?q?main=20=E5=A2=9E=E5=8A=A0=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 4e7d747..1d5d3ca 100644 --- a/main.go +++ b/main.go @@ -14,8 +14,8 @@ import ( func init() { 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, })