Re: Measuring response time Apache request

Torsten Förtsch <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
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.

Torsten Förtsch

-- 
Need professional modperl support? Hire me! (http://foertsch.name)

Like fantasy? http://kabatinte.net
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.