-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
slog按天切割日志不是按时切割 #31
Comments
是的,目前程序写的逻辑应该是这个结果。 这个可以优化一下,我会发一个小版本 v0.25.1,优化这个问题,包括按时,天,月份。 |
更新到v0.25.1后出现了新的问题。 |
@vinsonzou |
@donnie4w 服务重启时,切割日志日期变为19700101了 |
@vinsonzou 已发布0.25.3 修复该bug |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
比如写入a.log,跨天后有日志才会切割,没有日志永远也不会切割。
比如6月1日的日志a.log,下次输出日志为5号,则切割日志为4号了,与实际不符。
The text was updated successfully, but these errors were encountered: