DEV Community

артем
артем

Posted on

I stopped guessing in CLI — logging changed everything

I used to guess at the commands, typing in the console: ls /var/log | grep "EE" But that didn't help. At some point, I started logging everything, and now I can see everything I do. Errors appear immediately. You can filter them right in the pipeline.

lslog | grep EE
Enter fullscreen mode Exit fullscreen mode

I compiled this into a small tool: https://github.com/artemkolba321-spec/OLS

Top comments (0)