Can't access apache error logs
You need to add your username to the group adm
sudo usermod -aG adm YourUserName
You can then access the logfiles as normal user without sudo.
Try:
sudo cat /var/log/apache2/error.log
You need to add your username to the group adm
sudo usermod -aG adm YourUserName
You can then access the logfiles as normal user without sudo.
Try:
sudo cat /var/log/apache2/error.log