Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 96044 invoked from network); 5 Nov 2003 08:38:35 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 5 Nov 2003 08:38:35 -0000 Received: (qmail 9747 invoked by uid 500); 5 Nov 2003 08:37:44 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 9711 invoked by uid 500); 5 Nov 2003 08:37:44 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 9625 invoked from network); 5 Nov 2003 08:37:43 -0000 Received: from unknown (HELO mail.profundis.se) (213.80.46.101) by daedalus.apache.org with SMTP; 5 Nov 2003 08:37:43 -0000 X-ITHouse-Forward-Path: Received: From PROFUNDIS01 by mail.profundis.se (IT House Mail Server [TRIAL - 120 days left]); Wed, 5 Nov 2003 09:37:04 +0100 Message-ID: <269d01c3a377$fd636090$652e50d5@profundis.se> Reply-To: "Robert Andersson" From: "Robert Andersson" To: References: Date: Wed, 5 Nov 2003 09:37:03 +0100 Organization: Profundis MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: Re: [users@httpd] Script timings -- access.log X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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. Regards, Robert Andersson --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org