Merge branch 'dev-lwl/fix' into test
This commit is contained in:
commit
c13231a1d4
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue