|
|
|
@ -9,6 +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"`
|
|
|
|
|
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.
|
|
|
|
|