Re: Measuring response time Apache request

André Warnier <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
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.
:-)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.