Re: [squid-users] Squid debug

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 15 Apr 2003 08:31:01 +0200

atit jariwala wrote:
>
> thanks for reply...
>
> I also knows that debug sections are documented in doc/debug-sections.txt
> and i had gone through it before my previous mail
>
> My goal is as follow:
> I want to log only error messages. i am not interested in logging extra
> debug statements...
> an i think debug_option tag will not help me..am i right?
> making thing more clear
> for example i visit site www.abcd.com which is not exist, so squid gives
> DNS_FAIL error and log it and other debug statements in cache.log,
> i want to log only inforamtion something like below:
>
> date, time , cleint IP address url, string presenting Err Code
>
> This info can be logged in any file either tmp.log , cache.log , access.log
> i don't mind.
>
> does achievement of this task is feasible with squid 2.5 stable1 or it
> requires some custom coding.?

All this information becomes available in cache.log if you enable a
higher level of debugging in the Error section (4).

Why don't you try it and see for yourself if this gives the information
you want?

-- 
Free Squid-users support provided by Henrik Nordström
<hno@squid-cache.org>
Donations welcome if you consider my Free Squid support helpful.
https://www.paypal.com/xclick/business=hno%40squid-cache.org
If you need commercial Squid support or cost effective Squid or
firewall appliances please refer to MARA Systems AB, Sweden
http://www.marasystems.com/, info@marasystems.com
Received on Tue Apr 15 2003 - 00:44:03 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:14:58 MST