Re: [squid-users] Squid debug

From: atit jariwala <[email protected]>
Date: Tue, 15 Apr 2003 09:45:43 +0530

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.?

waiting for reply.......

----- Original Message -----
From: "Henrik Nordstrom" <hno@squid-cache.org>
To: "atit jariwala" <atit@elitecore.com>
Cc: <squid-users@squid-cache.org>
Sent: Tuesday, April 15, 2003 12:52 AM
Subject: Re: [squid-users] Squid debug

> The debug sections are documented in doc/debug-sections.txt
>
> The same information can also be found in the head of each corresponding
> C file.
>
> As can be found from this information the error page management is debug
> section 4. By increasing the debug level of section 4 you can increase
> the amount and detail of information logged in cache.log on each error.
>
> Regards
> Henrik
>
> atit jariwala wrote:
> >
> > i have squid 2.5 stable1
> >
> > I want to enable debug only with error messages generated by squid..
> >
> > for e.g.
> > if connection timeout error occcur it should log it with its associted
code.
> >
> > it should not log any other debug statements.
> >
> > i gone through debug sections, i got each debug statement has SECTION
and
> > LEVEL,
> > section indiactes .c file from which it is generated.. but what LEVEL
> > indicates..?
> >
> > does my task is feasible with current squid code or it requires
additional
> > coding.?
> >
> > waiting for reply...
> > == atit
>
> --
> 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/, [email protected]
>
Received on Mon Apr 14 2003 - 22:16:23 MDT

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