Re: Log Rotating Script/Utility

From: Christophe Zwecker <[email protected]>
Date: 9 Jun 1997 09:01:44 +0200

[Posted and mailed]

kawato@ksp.nis.nec.co.jp (KAWATO Katsushi) wrote:
>"Mervin B. Manangan" wrote:
>>Hi! I'm one of the users who is amazed with the capabilities and results
>>produced by squid. I just have one question, do you have any script or
>>utility for the logs rotation scheme? You see, our server's disk space
>>is constantly monitored though we have lowered down the threshold of the
>>configuration of squid to 75% Still we still experience squid process
>>dying down due to full capacity of our disk partitions (mainly because
>>of the logs). Please give me some details as to how to go about the
>>rotating of the logs. Thank you :-)
>
>Squid already has built-in log rotate function, but it doesn't
>support compression.
>
>Here is a patch for compression.
>
>begin 644 squid-1.1.10-compressor-patch04.gz

Hi,

trying to apply the patch I get this:

root:/usr/src> patch < patches/squid-1.1.10-compressor-patch04
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -urN squid-1.1.10.orig/src/squid.conf.pre.in squid-1.1.10/src/squid.conf.pre.in
|--- squid-1.1.10.orig/src/squid.conf.pre.in Tue Apr 22 01:27:14 1997
|+++ squid-1.1.10/src/squid.conf.pre.in Sun May 4 15:32:41 1997
--------------------------
Patching file squid-1.1.10/src/squid.conf.pre.in using Plan A...
patch: **** malformed patch at line 29: diff -urN squid-1.1.10.orig/src/cache_cf.c squid-1.1.10/src/cache_cf.c

I don't know much about that stuff, maybe somone can give me a hint ?
thx

-- 
   Christophe
----------------------------------------------------------------------
Christophe Zwecker                email:      doc@rrz.uni-hamburg.de
Hamburg, Germany                    fax:      49 40 22715433  
----------------------------------------------------------------------
In newsgroups please reply also by email - thanks
Received on Mon Jun 09 1997 - 01:48:55 MDT

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