localhost error logs apache2 linux mint tail code example Example: apache error log sudo tail -100 /var/log/apache2/error.log