You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Caspar von Seckendorff <se...@alphatec.de> on 2004/09/19 21:27:59 UTC

[users@httpd] LogFormat %...T request duration parameter measurement

Maybe somebody could help me understand further what the %...T switch in
custom log formats means (e.g. as a parameter to "LogFormat").

In the docs (http://httpd.apache.org/docs/mod/mod_log_config.html#formats)
it says the following (same for Apache 1.3 and 2.0):

%...T:          The time taken to serve the request, in seconds.

Does this mean 

A) "processing time" (i.e. processor usage), 
B) "total time taken until the data has been compiled to be sent to the
client, including waiting time" or 
C) "total time taken from the time the request arrived until the last bit
has arrived on the client side"?

I realized that requests the have a large request duration value are often
static HTML-pages, which should'nt take long to process. So I tend to
believe the third interpretation is valid and much of request duration is
due to the slow downstream of our users.

Any other opinions?

Greetings,

-Caspar


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> 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


Re: [users@httpd] LogFormat %...T request duration parameter measurement

Posted by Joshua Slive <js...@gmail.com>.
On Sun, 19 Sep 2004 21:27:59 +0200, Caspar von Seckendorff
<se...@alphatec.de> wrote:
> Maybe somebody could help me understand further what the %...T switch in
> custom log formats means (e.g. as a parameter to "LogFormat").

> C) "total time taken from the time the request arrived until the last bit
> has arrived on the client side"?

That is approximately correct.  It is the time from when apache reads
the request headers to when it prints the log message.  The log
message is printed after the entire response has been sent.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> 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