From owner-freebsd-questions@FreeBSD.ORG Thu Apr 22 20:24:06 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 4B3B916A4CE for ; Thu, 22 Apr 2004 20:24:06 -0700 (PDT) Received: from gw.visp.com.au (gw.visp.com.au [202.6.158.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id A129A43D41 for ; Thu, 22 Apr 2004 20:24:05 -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 i3N3O9kH045611 for ; Fri, 23 Apr 2004 12:54:09 +0930 (CST) (envelope-from tim@spyderweb.com.au) Received: from spyderweb.com.au (localhost [127.0.0.1])i3N3O7ux068103 for ; Fri, 23 Apr 2004 12:54:07 +0930 (CST) (envelope-from tim@spyderweb.com.au) Date: Fri, 23 Apr 2004 12:54:07 +0930 From: Tim Aslat To: freebsd-questions@freebsd.org Message-Id: <20040423125407.5ac821a3@bofh.spyderweb.com.au> In-Reply-To: <20040423031813.M68872@enabled.com> References: <20040322110622.M15380@enabled.com> <20040322115421.GB82093@users.munk.nu> <20040423025219.M5326@enabled.com> <20040423123602.0152baa1@bofh.spyderweb.com.au> <20040423031813.M68872@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:24:06 -0000 In the immortal words of "Noah" ... > Okay this looks like a viable option. can rotatelogs also age out and > delete log files that are older than 30 days? And does it compress > the log files as well? No, but it isn't hard to come up with a script to proces the logs in any way you see fit. Regardless of what you choose to do to the logs, you don't have to restart apache, which I thought was the main object of your question. The main advantage to doing it this way is that the logs will be pretty much rotated simultaneously by apache, so a couple of minutes after it's scheduled, you can run a script to compress, analyse, delete or whatever the rotated logfile. Cheers Tim -- Tim Aslat Spyderweb Consulting http://www.spyderweb.com.au P: +61 8 82243020 M: +61 0401088479