Merge branch 'dev-lwl/fix'

This commit is contained in:
lwl0608 2024-05-06 10:43:14 +08:00
commit 11a104ce38
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.WithMaxAge(time.Duration(86400*7)*time.Second),
rotatelogs.WithRotationTime(time.Duration(86400)*time.Second),
rotatelogs.WithRotationSize(1024*1024*500),
)
var writers io.Writer