Hej friends, I write small guide because I spend four hours chasing own IP in logs yesterday
No, problem is not tool, is eyes. I try show what works on malý server.
tool I use now
- Lnav — color from box, no config
- Ccze — if you want pipe anything
- Tail -f with grep --color=always
My color scheme: black background, green for 2xx, yellow 3xx, red error. No blue, blue is invisible.
For nginx I make alias:
alias tailerr='tail -f /var/log/nginx/error.log | ccze -A'No, this is not perfect. But better than white terminal at 3am.
What you use? I am curious.