You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Fought, Richard" <ri...@gdit.com> on 2007/08/27 15:15:31 UTC

[users@httpd] Questions regarding logging

I added %D to my log files and I have some pages that are taking quite a
long time to serve up (on the order of seconds).  Two questions:

1. What exactly are the start and stop points that Apache uses when
computing the time to serve up the page (%D)?  I assume they are at the
interface between Apache and the OS networking stack.

2. In the logs, is the request timestamp from the beginning or the end
of the request?

Thanks,
Rich

---------------------------------------------------------------------
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] Questions regarding logging

Posted by Joshua Slive <jo...@slive.ca>.
On 8/27/07, Fought, Richard <ri...@gdit.com> wrote:
>
> I added %D to my log files and I have some pages that are taking quite a
> long time to serve up (on the order of seconds).  Two questions:
>
> 1. What exactly are the start and stop points that Apache uses when
> computing the time to serve up the page (%D)?  I assume they are at the
> interface between Apache and the OS networking stack.
>
> 2. In the logs, is the request timestamp from the beginning or the end
> of the request?

The timestamp (as the docs say) is from when the request is received
(the beginning). %D measures the distance between this time and the
time the log is written.

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


Re: [users@httpd] Questions regarding logging

Posted by Jeff Peng <je...@gmx.net>.
-------- Original-Nachricht --------
> Datum: Mon, 27 Aug 2007 09:15:31 -0400
> Von: "Fought, Richard" <ri...@gdit.com>
> An: users@httpd.apache.org
> Betreff: [users@httpd] Questions regarding logging

> 
> 2. In the logs, is the request timestamp from the beginning or the end
> of the request?
> 

>From what I know (from apache API),after apache child finish to server the full request,logs were written.But this is maybe not right for status 206.

-- 
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail

---------------------------------------------------------------------
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