Email VPS log files every day
Handwritten on 06 May 2019
There are many ways to monitor log files. One that I actually use is
tail -f /var/log/app/application.log. This is pretty handy, but you need to be behind your laptop all the time. Or what if you want to start your day by reviewing only real errors? I needed this, I wanted to start my day with a coffee and a few lines of logs to review.