October 2000
Intermediate to advanced
1152 pages
26h 41m
English
Apache provides for logging just about any information you might be interested in from Web accesses. There are two standard log files that are generated when you run your Apache server—access_log and error_log. All logs except for the error_log (by default, this is just the access_log) are generated in a format specified by the CustomLog and LogFormat directives. These directives appear in your httpd.conf file.
A new log format can be defined with the LogFormat directive:
LogFormat "%h %l %u %t \"%r\" %>s %b" common
The common log format is a good starting place for creating your own custom log formats. Note that most of the log analysis tools available will assume that you are using the common log format or the combined log ...
Read now
Unlock full access