Merge branch 'dev-lwl/fix'
This commit is contained in:
commit
11a104ce38
|
@ -78,6 +78,7 @@ func InitLogger(config configcenter.LoggerConfig) {
|
|||
rotatelogs.WithLinkName(config.FileAbsPath),
|
||||
rotatelogs.WithMaxAge(time.Duration(86400*7)*time.Second),
|
||||
rotatelogs.WithRotationTime(time.Duration(86400)*time.Second),
|
||||
rotatelogs.WithRotationSize(1024*1024*500),
|
||||
)
|
||||
|
||||
var writers io.Writer
|
||||
|
|
Loading…
Reference in New Issue