Re: [squid-users] SquidNT - Compressing rotated logs

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Thu, 20 Sep 2007 22:51:29 +0200

On tor, 2007-09-20 at 12:31 +0100, Paul Cocker wrote:
> Since I'm running SquidNT there's no native log rotation method. I'm
> writing a batch file to handle this, but I would like to zip up the
> archive copies of the log to save space, seeing as how store.log and
> access.log are 500MB+ each in less than a week. Thing is, I want to run
> this from the command line, preferably without relying no any 3rd party
> solutions.

Here is one idea using only Windows:

Create a log archival directory, configure it to be compressed and that
files stored there should get automatically compressed. Then in your
batch job that rotates the logs, copy the logs there and let the
filesystem compress them for you..

Regards
Henrik

Received on Thu Sep 20 2007 - 14:51:34 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Oct 01 2007 - 12:00:02 MDT