Search squid archive

Re: attempting to disable (or mute) logs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 21/03/19 4:55 am, reinerotto wrote:
>> ***** Please note that setting cache.log to /dev/null is highly dangerous. <
> 
> Interesting. As this is standard when running squid on openwrt.
> Is there any _safe_ method to disable output to cache.log ?
>  

Not to disable, this is the log which receives notices of *critical*
events - such as things which are crashing Squid. If your Squid
cache.log has much content at all there is a major problem to fix rather
than just silencing the log about it.


Placing "debug_options rotate=N" can prevent old cache.log being kept
past log rotation. N being the count of old cache.log to keep.

Your use of "-d 1" command line parameter makes Squid log important as
well as critical events. That may increase the log size a little for
normal use. Again if there is much content being logged that would be a
sign of problems needing to be fixed.

Some important level issues may be outside Squid. So after fixing the
issues you can, simply remove the use of "-d 1".

Amos
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux