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

[Feature request] 定时清理log #60

Open
Rewrite0 opened this issue Jul 18, 2022 · 6 comments
Open

[Feature request] 定时清理log #60

Rewrite0 opened this issue Jul 18, 2022 · 6 comments
Labels
feature request Want some new function

Comments

@Rewrite0
Copy link
Collaborator

debug模式下, 时间长了log会及其多, 建议以天为单位重置log.

@EstrellaXD
Copy link
Owner

可以尝试设定 corntab 重启 AB,重启会清理 log

@Rewrite0
Copy link
Collaborator Author

可以尝试设定 corntab 重启 AB,重启会清理 log

确实重启可以重建log文件,不过还是希望能由程序自己来完成🤔

@EstrellaXD
Copy link
Owner

可以尝试设定 corntab 重启 AB,重启会清理 log

确实重启可以重建log文件,不过还是希望能由程序自己来完成🤔

可以,不过一半确实没有必要一直开DEBUG模式【

@Rewrite0
Copy link
Collaborator Author

可以尝试设定 corntab 重启 AB,重启会清理 log

确实重启可以重建log文件,不过还是希望能由程序自己来完成🤔

可以,不过一半确实没有必要一直开DEBUG模式【

现阶段还是debug有用些, 不过只是个小问题, 你看心情改吧

@EstrellaXD EstrellaXD added the feature request Want some new function label Aug 7, 2022
@banned2054
Copy link

能让log按日期显示和储存吗,这样避免了log过长,也能保证看到很多天之前的log的问题

@mzhboy
Copy link

mzhboy commented Apr 12, 2023

虽然还没用这个,但是 logrotate 可以自动管理 /var/log/ 里面的 log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Want some new function
Projects
Status: [v3.2] Roadmap
Development

No branches or pull requests

4 participants