Apache provides logging for just about any web access information you might be interested in. Logging can help with the following:
System resource management, by tracking usage
Intrusion detection, by documenting bad HTTP requests
Diagnostics, by recording errors in processing requests
Two standard log files are generated when you run your Apache server:
error_log. They are found under the
/var/log/apache2 directory. (Others ...