apache logs ubuntu code example
Example 1: view log apache 2
sudo tail /var/log/apache2/error.log
Example 2: log of apache ubuntu
# default dir
/var/log/apache2/
sudo tail /var/log/apache2/error.log
# default dir
/var/log/apache2/