Open iredmail opened 9 months ago
System (please complete the following information):
linux
1.21.5
Describe the bug
内建的 rotate 机制:
有简单的复现方法吗?
在设置了 max backup 为 90 的情况下,只有3个备份。 -- 是不是还配置了按时间清理的
目前是在实际长期运行的程序里使用了 slog,通过观察程序的实际表现发现的这个问题。 暂时还没有时间去整理复现此问题的代码,但我猜测简单地将 rotate 间隔缩短到例如一分钟,再手动触发一些 log 操作让它记录一些内容,足以重现这个问题。
System (please complete the following information):
linux
1.21.5
Describe the bug
内建的 rotate 机制: