Merge branch 'dev-lwl/fix' into test

This commit is contained in:
lwl0608 2024-05-06 10:43:03 +08:00
commit c13231a1d4
1 changed files with 1 additions and 0 deletions

View File

@ -78,6 +78,7 @@ func InitLogger(config configcenter.LoggerConfig) {
rotatelogs.WithLinkName(config.FileAbsPath), rotatelogs.WithLinkName(config.FileAbsPath),
rotatelogs.WithMaxAge(time.Duration(86400*7)*time.Second), rotatelogs.WithMaxAge(time.Duration(86400*7)*time.Second),
rotatelogs.WithRotationTime(time.Duration(86400)*time.Second), rotatelogs.WithRotationTime(time.Duration(86400)*time.Second),
rotatelogs.WithRotationSize(1024*1024*500),
) )
var writers io.Writer var writers io.Writer