How To View Only Errors in Logs Using Tail

sudo tail -f /var/log/apache2/other_vhosts_access.log | grep “404”

You may also like...