View Apache access logs
Rotate Apache log files
Test Apache configuration syntax
View Apache error logs
sudo tail -f /var/log/apache2/error.log
Displays and follows Apache error log in real-time.
Follow error log
Search for errors
sudo grep -i error /var/log/apache2/error.log
Fetch the logs of a container
View output from containers
Get logs from a pod