From owner-freebsd-isp Tue Oct 1 10: 7:37 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 54BD437B401 for ; Tue, 1 Oct 2002 10:07:36 -0700 (PDT) Received: from ad1.armourplate.net (ad1.armourplate.net [195.167.168.92]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD50F43E77 for ; Tue, 1 Oct 2002 10:07:35 -0700 (PDT) (envelope-from jonathan@corpex.com) Received: from [195.167.168.91] (helo=advs1.armourplate.net) by ad1.armourplate.net with esmtp (Exim 3.36 #4) id 17wQUh-00048A-00 for freebsd-isp@freebsd.org; Tue, 01 Oct 2002 18:07:35 +0100 Received: from root by advs1.armourplate.net with armourd-ok (Exim 3.36 #1) id 17wQPh-00096Y-00 for freebsd-isp@freebsd.org; Tue, 01 Oct 2002 18:02:25 +0100 Received: from ad1.armourplate.net ([195.167.168.92]) by advs1.armourplate.net with esmtp (Exim 3.36 #1) id 17wQPd-00096K-00 for freebsd-isp@freebsd.org; Tue, 01 Oct 2002 18:02:21 +0100 Received: from perseus.corpex.net ([195.167.169.20] helo=perseus) by ad1.armourplate.net with asmtp (Exim 3.36 #7) id 17wQUd-000488-00 for freebsd-isp@FreeBSD.ORG; Tue, 01 Oct 2002 18:07:31 +0100 From: "Jonathan Defries" To: Subject: RE: Rotating Apache Log Files Date: Tue, 1 Oct 2002 18:07:25 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: Importance: Normal X-Header: Scanned by ArmourPlate Anti-Virus Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Scott wrote: > Sort of an ISP question: > > I'm trying to figure out the best way to rotate apache's log files in > conjunction with my stats program (webalizer). > > I would like to write a script to strip the previous months > entries and gzip > them into a separate file. This way, my stats program won't miss a beat > regardless when the logs are rotated (ie sometime in to the next month). > > Will modifying the log file affect apache while it is running? http://www.cronolog.org/ will split things nicely for you, no need to worry about stopping/starting things. Regards, Jonathan -- Jonathan Defries Corpex Limited * email virus protection * Server Co-Location UK & Germany * Web Site Hosting * Domain Name Services http://www.corpex.com T +44 (0)207 430 8000 F +44(0)207 430 8099 _____________________________________________________________________ This message has been checked for viruses by Corpex using the ArmourPlate Virus Scanning Service. To find out how to protect your company visit http://www.armourplate.com or call Corpex on +44 (0)207 430 8000. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message