Mailing List Archive

Better apache server logs
The apache server allows for customized server log messsages
(http://httpd.apache.org/docs/logs.html#accesslog). I think we should
include the directive %T, which reports the time it took to serve a
request. That way, we could process the server logs to pinpoint the
precise conditions which cause requests to take a long time.

Adding the line
LogFormat "%h %l %u %t \"%r\" %>s %b %T" custom
to httpd.conf and changing
CustomLog /usr/local/apache/logs/access_log common
to
CustomLog /usr/local/apache/logs/access_log custom
should do the job.

Axel