Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Oct 2002 10:47:06 -0600
From:      Scott Gerhardt <scott@g-it.ca>
To:        <freebsd-isp@FreeBSD.ORG>
Subject:   Rotating Apache Log Files
Message-ID:  <B9BF2DAA.21A6%scott@g-it.ca>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B9BF2DAA.21A6%scott>