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
Attachment:
signature.asc
Description: This is a digitally signed message part