MacOS – Can’t find the apache error_log folder

apacheerrorlogsmacos

new Mac (Yosemite) and setting up a new dev environment. At the moment cannot find any error_log folder at the following paths:

/var/log/apache2/error_log
/private/var/log/apache2/error_log
/var/log/httpd/error_log

Any thoughts on where that folder may be?

enter image description here

Best Answer

The location of error_log is defined in /etc/apache2/httpd.conf. Run

grep '^ErrorLog' /etc/apache2/httpd.conf

to see the definition.