View Apache error logs
Rotate Apache log files
Check Apache service status
View Apache access logs
sudo tail -f /var/log/apache2/access.log
Displays and follows Apache access log in real-time.
Follow access log
View entire access log
sudo cat /var/log/apache2/access.log
Get logs from a pod
Start Apache web server
Stop Apache web server