command to check apache loh ubuntu code example
Example 1: apache error log
sudo tail -100 /var/log/apache2/error.log
Example 2: view log apache 2
sudo tail /var/log/apache2/error.log
sudo tail -100 /var/log/apache2/error.log
sudo tail /var/log/apache2/error.log