From owner-freebsd-questions@FreeBSD.ORG Thu Apr 22 20:06:09 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4F23F16A4CE for ; Thu, 22 Apr 2004 20:06:09 -0700 (PDT) Received: from gw.visp.com.au (gw.visp.com.au [202.6.158.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 66F0943D4C for ; Thu, 22 Apr 2004 20:06:08 -0700 (PDT) (envelope-from tim@spyderweb.com.au) Received: from bofh.spyderweb.com.au (202-6-150-37.ip.visp.com.au [202.6.150.37] (may be forged)) by gw.visp.com.au (8.12.8p2/8.12.8) with ESMTP id i3N36BkH044953 for ; Fri, 23 Apr 2004 12:36:11 +0930 (CST) (envelope-from tim@spyderweb.com.au) Received: from spyderweb.com.au (localhost [127.0.0.1])i3N362ux067894 for ; Fri, 23 Apr 2004 12:36:08 +0930 (CST) (envelope-from tim@spyderweb.com.au) Date: Fri, 23 Apr 2004 12:36:02 +0930 From: Tim Aslat To: freebsd-questions@freebsd.org Message-Id: <20040423123602.0152baa1@bofh.spyderweb.com.au> In-Reply-To: <20040423025219.M5326@enabled.com> References: <20040322110622.M15380@enabled.com> <20040322115421.GB82093@users.munk.nu> <20040423025219.M5326@enabled.com> Organization: Spyderweb Consulting X-Mailer: Sylpheed version 0.9.10claws (GTK+ 1.2.10; i386-portbld-freebsd5.2.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: newsyslog and apache X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Apr 2004 03:06:09 -0000 In the immortal words of "Noah" ... > this advice does not give me many warm fuzzies - the website appears > to be down. any other util recommendations that rotate hundreds of > apache logs files really well. newsyslog is not meeting our > requirements at the moment. Have you tried using the internal rotation code in apache? this excerpt from "man rotatelogs" should provide more information rotatelogs is a simple program for use in conjunction with Apache's piped logfile feature which can be used like this: TransferLog "| rotatelogs /path/to/logs/access_log 86400" This creates the files /path/to/logs/access_log.nnnn where nnnn is the system time at which the log nominally starts (this time will always be a multiple of the rotation time, so you can synchronize cron scripts with it). At the end of each rotation time (here after 24 hours) a new log is started. Logging is internal to apache, and doesn't require apache to be restarted. Hope this helps Cheers Tim -- Tim Aslat Spyderweb Consulting http://www.spyderweb.com.au P: +61 8 82243020 M: +61 0401088479