feat: 修改 app.yaml 中日志备份数量参数

This commit is contained in:
zhengkunwang223
2023-03-01 12:16:58 +08:00
committed by zhengkunwang223
parent 388c6150c7
commit 1ef26aa4eb
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ func setOutput(logger *logrus.Logger, config configs.LogConfig) {
LogPath: global.CONF.System.LogPath,
FileName: config.LogName,
TimeTagFormat: FileTImeFormat,
MaxRemain: config.LogBackup,
MaxRemain: config.MaxBackup,
RollingTimePattern: RollingTimePattern,
LogSuffix: config.LogSuffix,
})