Use the following code to track the error log –

tail -n 20 /var/log/apache2/error.log