From owner-freebsd-isp Tue Oct 1 9:47:14 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 DEF3937B401 for ; Tue, 1 Oct 2002 09:47:13 -0700 (PDT) Received: from blue.gerhardt-it.com (gw.gerhardt-it.com [204.83.38.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C14243E3B for ; Tue, 1 Oct 2002 09:47:13 -0700 (PDT) (envelope-from scott@g-it.ca) Received: from [24.71.178.119] (h24-71-178-119.ss.shawcable.net [24.71.178.119]) by blue.gerhardt-it.com (Postfix) with ESMTP id C02B210062 for ; Tue, 1 Oct 2002 10:47:11 -0600 (CST) User-Agent: Microsoft-Entourage/10.1.0.2006 Date: Tue, 01 Oct 2002 10:47:06 -0600 Subject: Rotating Apache Log Files From: Scott Gerhardt To: Message-ID: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit 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 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? Suggestions? -- Scott Gerhardt, P.Geo. Gerhardt Information Technologies [G-IT] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message