apache error log for directory code example
Example 1: apache error log
sudo tail -100 /var/log/apache2/error.log
Example 2: see apache error log
sudo tail -100 /var/log/apache2/access.log
sudo tail -100 /var/log/apache2/error.log
sudo tail -100 /var/log/apache2/access.log