view error log apache2 code example Example: see apache error log sudo tail -100 /var/log/apache2/access.log