优化:降低访问日志噪声并增加日志文件轮转

This commit is contained in:
yml2213
2026-08-30 16:59:11 +08:00
parent 6ca54e468e
commit 25b89bb503
20 changed files with 2334 additions and 4 deletions
+2
View File
@@ -19,6 +19,8 @@ export function createDefaultRuntimeConfig(projectRoot: string): RuntimeConfig {
// 对接日志默认只保留 warn/error,避免 integration-*.log 被 info 刷爆
integrationLevel: 'warn',
retentionDays: 30,
maxFileSizeMb: 20,
maxFiles: 5,
},
retention: {