httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marc G. Fournier" <>
Subject Re: [PATCH] Rotate logs based on file size...
Date Wed, 12 Jun 2002 20:42:26 GMT

The ability to stipulate a log file of:


would be cool ...

On Wed, 12 Jun 2002, Brad Nicholes wrote:

> I actually added this functionality to mod_log_config for Apache 1.3
> since Apache 1.3 for NetWare had no other way to rotate logs.  The
> RotateLogs executible would not work for us because of a lack of pipes
> in the infrastructure that we were using at the time on our platform .
> But I ultimately had to remove it and create a NetWare specific module
> for rotating logs because of objections.  I am  for adding this
> functionality mod_log_config but I am sure there are others who have
> reasons not to.
> Brad
> Brad Nicholes
> Senior Software Engineer
> Novell, Inc., the leading provider of Net business solutions
> >>> Wednesday, June 12, 2002 12:55:50 PM >>>
> Brad Nicholes wrote:
> >    We have a requirement on NetWare to rotate the logs based on file
> >size rather than on a rotation time.  This patch modifies rotatelogs
> to
> >accept either a rotation time or a file size parameter.  If a file
> size
> >is specified, it will automatically rotate the log when the actual
> file
> >size reaches the specified file size.  I would like to check this
> patch
> >in if I can get enough votes.
> >
> Based on a quick read through the patch, +1.
> BTW, does anyone have strong opinions for or against adding log
> rotation logic to mod_log_config as an alternative to rotatelogs?
> IMHO, it would be more efficient, and simpler for the server
> administrator, to have some configuration options for mod_log_config
> that would enable it to start writing a new log file at a specified
> time interval or file size threshold.
> --Brian

View raw message