You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Søren Neigaard <s....@mobilethink.dk> on 2002/06/11 14:54:03 UTC

Logging request compleation time

Can I get Apache to log how long time each request tages, and could you give
me some points on where I can find info on this?

Med venlig hilsen/Best regards
Søren Neigaard
System Architect
................................
Mobilethink A/S
Arosgaarden
Åboulevarden 23, 5.sal
DK - 8000 Århus C
Telefon: +45 86207800
Direct: +45 86207810
Fax: +45 86207801
Email: s.neigaard@mobilethink.dk
Web: www.mobilethink.dk
................................


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: Logging request compleation time

Posted by Josh Wyatt <Jo...@hcssystems.com>.
Søren Neigaard wrote:
> 
> Can I get Apache to log how long time each request tages, and could you give
> me some points on where I can find info on this?

Hi,
I just learned the answer to this question yesterday.

If you're running Apache 2.0.x, you can get microsecond-level
resolution.  Check out the %D logging option:
http://httpd.apache.org/docs-2.0/mod/mod_log_config.html#formats

If you're using Apache 1.3.x, you can only get second-level resolution. 
Checkout the %T option:
http://httpd.apache.org/docs/mod/mod_log_config.html#formats

Thanks,
Josh



> 
> Med venlig hilsen/Best regards
> Søren Neigaard
> System Architect
> ................................
> Mobilethink A/S
> Arosgaarden
> Åboulevarden 23, 5.sal
> DK - 8000 Århus C
> Telefon: +45 86207800
> Direct: +45 86207810
> Fax: +45 86207801
> Email: s.neigaard@mobilethink.dk
> Web: www.mobilethink.dk
> ................................
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: Logging request compleation time

Posted by Søren Neigaard <s....@mobilethink.dk>.
Oh I think I fixed it, maybe I should just add '%T' to my 'LogFormat' :)

/Søren

-----Oprindelig meddelelse-----
Fra: Søren Neigaard [mailto:s.neigaard@mobilethink.dk]
Sendt: 11. juni 2002 14:54
Til: users@httpd.apache.org
Emne: Logging request compleation time


Can I get Apache to log how long time each request tages, and could you give
me some points on where I can find info on this?

Med venlig hilsen/Best regards
Søren Neigaard
System Architect
................................
Mobilethink A/S
Arosgaarden
Åboulevarden 23, 5.sal
DK - 8000 Århus C
Telefon: +45 86207800
Direct: +45 86207810
Fax: +45 86207801
Email: s.neigaard@mobilethink.dk
Web: www.mobilethink.dk
................................


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org