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