feat: add config to truncate long log content (#2767)
This commit is contained in:
@@ -8,6 +8,7 @@ type LogConf struct {
|
||||
TimeFormat string `json:",optional"`
|
||||
Path string `json:",default=logs"`
|
||||
Level string `json:",default=info,options=[debug,info,error,severe]"`
|
||||
MaxContentLength uint32 `json:",optional"`
|
||||
Compress bool `json:",optional"`
|
||||
Stat bool `json:",default=true"`
|
||||
KeepDays int `json:",optional"`
|
||||
|
||||
Reference in New Issue
Block a user