Re: log file question

From: Martin Brooks <martin@dont-contact.us>
Date: Mon, 24 Apr 2000 16:51:38 +0100

At 19:05 24/04/00 +0530, K.DEEPAK wrote:

>I think i have made myself clear. Basically, i do not want to delete
>the log files , but only to rename after it reaches a specific size
>limit.

I can't think of an easy way to do this by size but you can easily gets the
log file to be rotated at anytime during the day by issuing
"/usr/local/squid/bin/squid -k rotate'' either manually or from a cron
job. I have a little perl script which also renames the log file according
to the date and then compresses it.

Regards

Martin A. Brooks
------------------------------------
The package said Windows NT 4 or better - I installed Linux.
Received on Mon Apr 24 2000 - 09:56:29 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:53:01 MST