Where is the Apache Access Log File located (Mac Apache)? [closed]
I did a little reading online, and I think that the Apache Access Log contains all of the requests sent to the server. However, I couldn't gather from the websites whether this is actually stored in an accessible text file, or in some other manner. If it is stored in a file, where is this file on the default Mac Apache install?
Solution 1:
Look for 'CustomLog' and 'ErrorLog' in your Apache configuration files, which are under /etc/apache2/httpd.conf
Also see the documentation, at http://httpd.apache.org/docs/current/logs.html
Solution 2:
The default location for the access log is:
/var/log/apache2/access_log
The default location for the error log is:
/var/log/apache2/error_log