httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (Robert S. Thau)
Subject Re: Customizable logging
Date Fri, 17 Mar 1995 10:30:49 GMT
   Date: Thu, 16 Mar 1995 18:47:50 -0800
   From: Rob McCool <>

   What I mean by "common" is merely the way that many servers implement
   it, like common gateway interface. It doesn't have to share anything
   in common with the current CLF aside from the fact that more than one
   server implements it.

Well, there are a lot of log analyzers that handle the current CLF, so
it would be good for that reason alone to keep the current format as
the out-of-the-box default.  (Disclosure of ulterior motive: I've got
an analyser of my own --- a *much* improved version of my metasummary
hack --- which I keep meaning to release once I find the time to
document it).

Aside from that, my only (minor!) concern with this stuff is that
whatever format is chosen not have too much overhead in the
implementations --- the last time I profiled a server, writing the log
file showed up as something like 7% of the time spent in the child

(On the other hand, this may have been due to gprof artifacts.  Gprof
doesn't know one call to write() from another --- it just sums them
all up and prorates the cost by number of calls to estimate the time
spent by caller --- so there may have been "spillover" from writes to
the socket.  In any case, if the implementation is about the cost of a
strftime() per logged transaction, that's not enough to notice).


View raw message