Hi,
I don't know how to configure Squid to stop logging. But, if the log files
aren't important for you, you can cut them frequently by rotating them. I've
used cron daemon to rotate my squid logfiles:
* 0 * * * /usr/local/squid/bin/squid -k rotate
This causes the squid log files will be rotate once a day. Look in
squid.conf, set the logfile_rotate option to 1
This works OK for my situation.
If the logfile size is increment quickly. You can rotate twice a day. Use
this:
* 0, 12 * * * /usr/local/squid/bin/squid -k rotate
Hope this help. Good luck!
Dong
---------------------------------------------------------------------
/\_/\ Nguyen Dang Phuoc Dong - dongnd@tlnet.com.vn
( o..o ) System Administrator - Phuong Nam Net.
>~< Web Site: http://www.tlnet.com.vn
---------------------------------------------------------------------
-----Original Message-----
From: Xavier <xavier@euro.net>
To: squid-users@ircache.net <squid-users@ircache.net>
Date: Monday, December 07, 1998 2:18 PM
Subject: Squid & "disk full" error
>Hi *,
>
>Sometimes, my Squid logfiles are too big and I got a "disk full" error
>message. The problem is that in this case, Squid does not work anymore...
>
>Is there a way to configure Squid to bypass the logfile processing but
>still process users requests?
>
>X
>
>--
> . .
> . *
>Xavier Mertens, . EuroNet Internet
>Network Operation Center . Lozenberg, 22
> . 1932 Zaventem
>`finger xavier@jura.euronet.be` . Tel: +32 2 7171717
>
Received on Mon Dec 07 1998 - 02:13:30 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:43:33 MST