From owner-freebsd-isp Tue Oct 1 10:14:41 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 2D06737B404 for ; Tue, 1 Oct 2002 10:14:40 -0700 (PDT) Received: from digitaldaemon.com (digitaldaemon.com [63.105.9.34]) by mx1.FreeBSD.org (Postfix) with SMTP id 5DA6A43E77 for ; Tue, 1 Oct 2002 10:14:39 -0700 (PDT) (envelope-from jan@digitaldaemon.com) Received: (qmail 56833 invoked from network); 1 Oct 2002 17:14:02 -0000 Received: from unknown (HELO digitaldaemon.com) (192.168.0.220) by digitaldaemon.com with SMTP; 1 Oct 2002 17:14:02 -0000 Message-ID: <3D99D879.6030202@digitaldaemon.com> Date: Tue, 01 Oct 2002 13:16:41 -0400 From: Jan Knepper Organization: http://www.digitaldaemon.com/ User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1b) Gecko/20020721 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Scott Gerhardt Cc: freebsd-isp@FreeBSD.ORG Subject: Re: Rotating Apache Log Files References: Content-Type: text/plain; charset=us-ascii; format=flowed 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 In newsyslog.conf ~/httpd.log ... /var/run/httpd.pid So that newsyslog signals apache to start a new log file... Jan Scott Gerhardt 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? > >Suggestions? > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message