You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "Roy T. Fielding" <fi...@kiwi.ics.uci.edu> on 1999/01/07 03:01:41 UTC

Re: why not log request time?

>It's probably a CLF stupidity. 

As one of the people who defined CLF, I can say that ain't the case.

....Roy

Re: why not log request time?

Posted by Ben Laurie <be...@algroup.co.uk>.
Dean Gaudet wrote:
> 
> Dude, why the hell did you use such a lame format??  A simple record
> seperator would have been sooooooo nice!

double+1!

Cheers,

Ben.

--
http://www.apache-ssl.org/ben.html

"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
     - Indira Gandhi

Re: why not log request time?

Posted by Marc Slemko <ma...@worldgate.com>.
On Wed, 6 Jan 1999, Dean Gaudet wrote:

> Dude, why the hell did you use such a lame format??  A simple record
> seperator would have been sooooooo nice!
> 
> Anyhow, that's the reason that I've always seen used for the silliness of
> logging the current time rather than the request time.  If it's not the
> real reason, then lets change it. 

It may not be a CLF thing as such, but may be a historic thing.  I can
certainly see early http server implementation simply getting the time in
the printf that generates the log entry for simplicity.  Once that was
done, for any freaks thinking they can use that plus the time the request
took to complete to calculate start and end times or something...

> 
> I suspect another reason is that dumb log programs wouldn't like to see
> vastly out of order times... which is what you'd get logging the
> request_time (also what you get with BUFFERED_LOGS).
> 
> Speaking of logs, and digressing again, did the freebsd folks stop
> defining BUFFERED_LOGS in their port?

I think so.  I think there is now a special perform-faster variable you
can enable while compiling the port.

I don't remember though, since I can only be annoyed at one vendor's
package at the time.  For a lot time that was Red Hat's RPM, then it was
FreeBSD's for a bit, but now it is NetBSD.


Re: why not log request time?

Posted by Dean Gaudet <dg...@arctic.org>.
Dude, why the hell did you use such a lame format??  A simple record
seperator would have been sooooooo nice!

Anyhow, that's the reason that I've always seen used for the silliness of
logging the current time rather than the request time.  If it's not the
real reason, then lets change it. 

I suspect another reason is that dumb log programs wouldn't like to see
vastly out of order times... which is what you'd get logging the
request_time (also what you get with BUFFERED_LOGS).

Speaking of logs, and digressing again, did the freebsd folks stop
defining BUFFERED_LOGS in their port?

Dean

On Wed, 6 Jan 1999, Roy T. Fielding wrote:

> >It's probably a CLF stupidity. 
> 
> As one of the people who defined CLF, I can say that ain't the case.
> 
> ....Roy
>