From 5edf802593c051e77f09e4c84de279be3e4b0b8d Mon Sep 17 00:00:00 2001 From: huang <1724659546@qq.com> Date: Fri, 12 Sep 2025 11:52:18 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=97=A5=E5=BF=97=E7=9B=AE?= =?UTF-8?q?=E5=BD=95,=20gemini=20code=20assist=E4=BC=9A=E6=A0=B9=E6=8D=AE.?= =?UTF-8?q?gitignore=E5=B1=8F=E8=94=BD=E7=9B=AE=E5=BD=95,=20=E5=B1=8F?= =?UTF-8?q?=E8=94=BDlogs/=E4=BC=9A=E5=AF=BC=E8=87=B4infre/logs=E7=9B=AE?= =?UTF-8?q?=E5=BD=95=E6=97=A0=E6=B3=95=E8=AE=BF=E9=97=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 2 +- config.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index c65fc62..6823da4 100644 --- a/.gitignore +++ b/.gitignore @@ -23,4 +23,4 @@ vendor/ .env bin/ -logs/ \ No newline at end of file +app_logs/ \ No newline at end of file diff --git a/config.yml b/config.yml index 246c9a3..ba88b1f 100644 --- a/config.yml +++ b/config.yml @@ -13,7 +13,7 @@ log: level: "info" # 日志级别: "debug", "info", "warn", "error", "dpanic", "panic", "fatal" format: "console" # 日志格式: "console" 或 "json" enable_file: true # 是否启用文件日志 - file_path: "./logs/app.log" # 日志文件路径 + file_path: "./app_logs/app.log" # 日志文件路径 max_size: 10 # 每个日志文件的最大尺寸 (MB) max_backups: 5 # 保留的旧日志文件的最大数量 max_age: 30 # 保留的旧日志文件的最大天数