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

日志超过万条统计总数和读取日志分页就很慢 #133

Closed
suruibuas opened this issue Jun 14, 2017 · 1 comment
Closed

日志超过万条统计总数和读取日志分页就很慢 #133

suruibuas opened this issue Jun 14, 2017 · 1 comment

Comments

@suruibuas
Copy link

SeasLog::analyzerCount(SEASLOG_INFO, $file);

日志行数如果超过万条的话,速度就慢

@Neeke
Copy link
Member

Neeke commented Aug 15, 2017

SeasLog中analyzerCount函数目前使用的是more 、grep、wc命令管道进行统计,如果出现日志过大,是存在缓慢问题的,此处有优化空间。

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

No branches or pull requests

2 participants