Skip to content
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

历史日志文件清除失败 #64

Closed
ChnPhantom opened this issue Jul 28, 2021 · 3 comments
Closed

历史日志文件清除失败 #64

ChnPhantom opened this issue Jul 28, 2021 · 3 comments

Comments

@ChnPhantom
Copy link

如果程序一直运行,并只设置了一天保留,在第二天时并不会删除第一天产生的文件,这是我临时修改的代码
image

@xia-chu
Copy link
Member

xia-chu commented Aug 23, 2021

会删除吧?我都是设置7天左右 ,能验证确实没7天前的日志文件了,保留一天日志我没验证,应该也能删除啊。

@xia-chu
Copy link
Member

xia-chu commented Aug 23, 2021

还有 重启程序,不会去删除2天前的日志的。程序只会删除本次运行时产生的老文件

@ChnPhantom
Copy link
Author

明白了,可能是我们理解有误

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants