How do I find Apache http server log files?
Share
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
You must login to ask question.
Apache logs are files that record everything the Apache web server is doing for later analysis by the server administrator. The records of all Apache events are placed in two different text files:
The log files’ location depends on the operating system the Apache web server is running. On Debian-based operating systems like Ubuntu, the access log file is located in
/var/log/apache2/access.log
. On CentOS, RHEL, or Fedora, the access log file is stored in/var/log/httpd/access_log
.Similarly, the error log file is located in
/var/log/apache2/error.log
on Debian-based systems and/var/log/httpd/error_log
on CentOS, RHEL, or Fedora. A typical error log entry might look like this: