use stat instead of disableStat (#2740)

This commit is contained in:
Xargin
2023-01-03 11:29:24 +08:00
committed by GitHub
parent 20a61ce43e
commit 1c544a26be
3 changed files with 6 additions and 10 deletions

View File

@@ -9,7 +9,7 @@ type LogConf struct {
Path string `json:",default=logs"`
Level string `json:",default=info,options=[debug,info,error,severe]"`
Compress bool `json:",optional"`
DisableStat bool `json:",optional"`
Stat bool `json:",default=true"`
KeepDays int `json:",optional"`
StackCooldownMillis int `json:",default=100"`
// MaxBackups represents how many backup log files will be kept. 0 means all files will be kept forever.