Return-Path: Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 7758 invoked by uid 500); 12 Jun 2002 19:22:10 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 7745 invoked from network); 12 Jun 2002 19:22:09 -0000 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.0.2 Beta Date: Wed, 12 Jun 2002 13:22:05 -0600 From: "Brad Nicholes" To: , Subject: Re: [PATCH] Rotate logs based on file size... Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Spam-Rating: daedalus.apache.org 1.6.2 500/1000/N 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 http://www.novell.com >>> brian.pane@cnet.com 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