perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier ...@ice-sa.com>
Subject Re: Measuring response time Apache request
Date Tue, 24 May 2011 18:24:04 GMT
Torsten Förtsch wrote:
> On Tuesday, May 24, 2011 18:20:23 André Warnier wrote:
>> Is it not easier to just read the Apache access log a posteriori, and
>> filter the lines  which you need ?
>> With the appropriate LogFormat, you can have the microseconds needed
>> for each request.
> 
> With Apache2::ModLogConfig you can even install a Perl handler to be 
> called by CustomLog:
> 
> <Perl>
> sub My::LogReceiver {
>   my ($r, $usec)=@_;
>   ...
> }
> </Perl>
> 
> CustomLog "@perl: My::LogReceiver" "%D"
> 
> But Marco wanted PostReadRequest => Response not PostReadRequest => Log.
> 
I know, but the difference is likely to be only a Muckeseckele, as they say around here.
:-)



Mime
View raw message