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

自动清理错误日志/添加彻底关闭错误日志记录功能 #656

Open
ajdgsu opened this issue Mar 27, 2024 · 5 comments
Open

自动清理错误日志/添加彻底关闭错误日志记录功能 #656

ajdgsu opened this issue Mar 27, 2024 · 5 comments
Labels
优化 something need to optimization

Comments

@ajdgsu
Copy link

ajdgsu commented Mar 27, 2024

功能描述

之前家里的广告拦截好像阻止了一些b站的域名导致pilipala一直在报错,由于还能正常看视频所以就没管。结果发现pilipala的日志文件(.pili_logs)飙到了60多MB,甚至错误日志的选项卡都打不开了。

目标

添加自动删除过时日志的功能,或者添加一个开关关闭pilipala的错误日志记录

解决方案

如果你有任何关于如何实现这个功能的想法或建议,请在这里提供。

其他

请提供已实现该功能或类似功能的应用

@guozhigq
Copy link
Owner

好的

@guozhigq
Copy link
Owner

可以看下是什么报错吗

@ajdgsu
Copy link
Author

ajdgsu commented Mar 27, 2024

我已经把那个日志删了,不过我最近几天不在家,基本全天都挂着nekobox,并且用了它的广告拦截。这么几天下来只有不到7MB的大小,你可以参考一下
logs.7z.zip

@VillagerTom
Copy link
Contributor

我觉得是不是可以给日志页做个分页加载?

@guozhigq
Copy link
Owner

我觉得是不是可以给日志页做个分页加载?

从文件中读取数据没法做分页吧,也许可能,目前没研究 🧐

@guozhigq guozhigq added the 优化 something need to optimization label Mar 31, 2024
guozhigq added a commit that referenced this issue Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
优化 something need to optimization
Projects
None yet
Development

No branches or pull requests

3 participants