Location of apache access log - CentOS 7

The apache access log can be found at the following location

/var/log/httpd/access_log

The access log is automatically routed by default, and the four previous logs are also in the same directory.

access_log-20200112
access_log-20200119
access_log-20200126
access_log-20200202

How to check the access log

As a way to check the access log, we will introduce a command that can output and check the contents of a file.

Associated Information