httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Andersson" <>
Subject Re: [users@httpd] Script timings -- access.log
Date Wed, 05 Nov 2003 08:37:03 GMT
Boyle Owen wrote:
> The simple way would be to have the script do the logging - a couple of
> "print" or "echo" statements at the start and end of the script would do
> it... If you switch on ScriptLog and just write to STDOUT, the messages
> will end up in the script log.

I haven't tried it, but if the script store the times (start and end) in
environment variables. It should then be possible to include it in the
access log, by using %{SCRIPT_TIME_START}e %{SCRIPT_TIME_END}e in a custom
LogFormat directive.

Robert Andersson

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message