tail apache log ubuntu code example
Example 1: view log apache 2
sudo tail /var/log/apache2/error.log
Example 2: tail access_log
sudo tail -100 /etc/httpd/logs/access_log
sudo tail /var/log/apache2/error.log
sudo tail -100 /etc/httpd/logs/access_log