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

关于写本地日志的问题 #65

Open
iwuq opened this issue May 13, 2020 · 1 comment
Open

关于写本地日志的问题 #65

iwuq opened this issue May 13, 2020 · 1 comment

Comments

@iwuq
Copy link

iwuq commented May 13, 2020

只要app一直不重启,过了凌晨12点不会新建当天日期的日志文件,还是往前一天的日志里面写文件;
还有能否支持设置本地日志存储空间大小和文件数量,存满了就删除最早的log

@pengwei1024
Copy link
Owner

只要app一直不重启,过了凌晨12点不会新建当天日期的日志文件,还是往前一天的日志里面写文件;
还有能否支持设置本地日志存储空间大小和文件数量,存满了就删除最早的log

就算设置定时器也不会特别准哈,没有特别好的方案,你们抓取日志的时候可以拉前后两天。
删除日志可以自己做策略,提供了日志目录,框架提供这种也不是特别好

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