Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Oct 2002 18:07:25 +0100
From:      "Jonathan Defries" <jonathan@corpex.com>
To:        <freebsd-isp@FreeBSD.ORG>
Subject:   RE: Rotating Apache Log Files
Message-ID:  <NEBBJLAOAKHHJLPLDLPIOEPKFJAB.jonathan@corpex.com>
In-Reply-To: <B9BF2DAA.21A6%scott@g-it.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NEBBJLAOAKHHJLPLDLPIOEPKFJAB.jonathan>