httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Hartill <r...@imdb.com>
Subject Re: Log file: allow strftime parameters?
Date Tue, 09 Sep 1997 20:47:53 GMT
On Tue, 9 Sep 1997, Ben Laurie wrote:

> Elizabeth Mattijsen wrote:
> > 
> > At 08:03 9/9/97 -0600, Marc Slemko wrote:
> > >> > TransferLog        filename.%Y%m%d
> > >>I think most of us agreed (which talking about log file functionality and
> > >>such) that we could go overboard in putting special log file features
> > >>into the server, but we'd never be able to do everything everyone could
> > >>want to do, and it could slow down performance
> > 
> > This change would have minimal impact.  Only at startup, -HUP or -USR time,
> > when the log file is being opened, should the filename be taken through
> > "strftime" instead of being used sec.  Once the file descriptor is there,
> > it is EXACTLY the way it is now.
> > 
> > I agree with the fact that Apache cannot do everything.  On the other hand,
> > this would have minimal CPU and RAM impact whereas it would have relatively
> > large benefits (no piping and no seperate Perl scripts needed for most
> > types of log rotation).
> 
> I must say, I agree this would be useful.

it can also be a problem for people who rotate the logs at times
other than midnight once per day. Sure they can ignore the option but
cron is a more robust solution IMO.
 


Mime
View raw message