mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-10-28 02:57:28 +08:00
feat: 修改 app.yaml 中日志备份数量参数
This commit is contained in:
committed by
zhengkunwang223
parent
388c6150c7
commit
1ef26aa4eb
@@ -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,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user