how to check apache error logs in linux code example Example: see apache error log sudo tail -100 /var/log/apache2/access.log