Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Just for the record the initial proposed solution is not really an optimal way to do it, specially if log files are huge. Using cat will push the whole log file to stdout first and it's not really needed because `grep GET /var/log/nginx-access.log` will do exactly the same, but way faster.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: