Re: debug statements to debugs statements

2007-04-28 Thread Henrik Nordstrom
lör 2007-04-28 klockan 00:14 +0300 skrev Tsantilas Christos: Here is the patch which converts the debug statements to debugs statements: http://www.chtsanti.net/others/CONVER_DEBUGS.diff It is not excellent but it is not so bad... Applied with a bit of whitespace cleanup - Less aggressive

Re: debug statements to debugs statements

2007-04-27 Thread Tsantilas Christos
Here is the patch which converts the debug statements to debugs statements: http://www.chtsanti.net/others/CONVER_DEBUGS.diff It is not excellent but it is not so bad... Regards, Christos

Re: Debug-Sections for Release

2007-04-22 Thread Amos Jeffries
Amos Jeffries wrote: This is a cleanup of the published Debug Sections in Squid 3.0. Source files are only altered in the commented DEBUG: areas. All changes are to better prepare these sections for automatic processing. Some are to bring code sections marked with unknown (ie section ??) up

Re: debug statements to debugs statements

2007-04-22 Thread Tsantilas Christos
I do a first conversion from debug statements to debugs statements. The patch is big (~750K) to post it to mailing list so I put the result here: http://www.chtsanti.net/others/CONVER_DEBUGS.diff I hope that it is something needed for squid3 because the conversion takes a lot of my time

Re: debug statements to debugs statements

2007-04-22 Thread Adrian Chadd
On Sun, Apr 22, 2007, Tsantilas Christos wrote: Adrian Chadd wrote: There's now an implied \n (ie, eol) in the debug path; your patch has \n's in there. Oops! I really did not see it (@#$%^[EMAIL PROTECTED]@#)! I will try to remove it.. But I think It

Re: debug statements to debugs statements

2007-04-22 Thread Tsantilas Christos
OK, It takes something less than a year... The patch at: http://www.chtsanti.net/others/CONVER_DEBUGS.diff does not contains \n any more. I hope that it is OK now Please try to do not find any such error ... in Sunday... you can find it on Monday morning :-) ! Regards, Christos

Re: Debug-Sections for Release

2007-04-22 Thread Adrian Chadd
On Sun, Apr 22, 2007, Amos Jeffries wrote: Amos Jeffries wrote: This is a cleanup of the published Debug Sections in Squid 3.0. Source files are only altered in the commented DEBUG: areas. All changes are to better prepare these sections for automatic processing. Some are to bring code

Re: debug statements to debugs statements

2007-04-18 Thread Adrian Chadd
On Wed, Apr 18, 2007, Tsantilas Christos wrote: Hi all, Here is a perl script which can be used to convert debug statements to new debugs statements :-) . It mostly works or just do standard errors. It does not formats the output. I think the astyle can do the rest work. Does not convert

Re: debug statements to debugs statements

2007-04-18 Thread Alex Rousskov
On Wed, 2007-04-18 at 11:30 +0300, Tsantilas Christos wrote: Here is a perl script which can be used to convert debug statements to new debugs statements :-) . It mostly works or just do standard errors. It does not formats the output. I think the astyle can do the rest work. Does not

Re: debug statements to debugs statements

2007-04-18 Thread Tsantilas Christos
Thanks Alex, Also I handled some other minor cases and run it in my sources. Some statistics: grep -n Converted CONVERT.log |wc -l - 2316 grep -n LeftAsIs CONVERT.log |wc -l - 137 Only 5-6 cases needed some work by me. Now compiles and the debug info I am getting looks OK. I will

Re: DEBUG Section for IPAddress

2007-04-04 Thread Alex Rousskov
On Wed, 2007-04-04 at 13:02 +1200, Amos Jeffries wrote: Gah! I diffed the files backwards. Here is the actual patch for doc/debug-sections.txt Amos, The doc/mk-debugs.sh script you were using (or equivalent) needs to be fixed. It needs to grep files in subdirectories of src/. For

Re: DEBUG Section for IPAddress

2007-04-04 Thread Amos Jeffries
Alex Rousskov wrote: On Wed, 2007-04-04 at 13:02 +1200, Amos Jeffries wrote: Gah! I diffed the files backwards. Here is the actual patch for doc/debug-sections.txt Amos, The doc/mk-debugs.sh script you were using (or equivalent) needs to be fixed. It needs to grep files in

Re: DEBUG Section for IPAddress

2007-04-03 Thread Amos Jeffries
Alex Rousskov wrote: On Mon, 2007-03-26 at 23:59 +1200, Amos Jeffries wrote: I have so far not placed any permanent debug statements in the IPAddress object. It's come about time I should be making some more permanent ones and so need a section number. Is there some method I don't know yet for

Re: DEBUG Section for IPAddress

2007-04-03 Thread Amos Jeffries
Gah! I diffed the files backwards. Here is the actual patch for doc/debug-sections.txt Amos --- doc/debug-sections.txt 2007-03-27 20:12:49.0 +1200 +++ DEBUG_levels.txt 2007-04-04 12:56:03.0 +1200 @@ -3,11 +3,14 @@ section 0 Client Database section 0 Debug Routines

Re: Debug

2007-01-08 Thread Henrik Nordstrom
mån 2007-01-08 klockan 17:27 +1300 skrev Amos Jeffries: The problem I am tracking is a DNS timeout when a TCP_MISS:DIRECT begins but can't figure out how to get any action-by-action or function-by-function record of what calls are being made in the area. Well. it is not so easy. Squid is

Re: Debug

2007-01-08 Thread Amos Jeffries
Henrik Nordstrom wrote: mån 2007-01-08 klockan 17:27 +1300 skrev Amos Jeffries: The problem I am tracking is a DNS timeout when a TCP_MISS:DIRECT begins but can't figure out how to get any action-by-action or function-by-function record of what calls are being made in the area. Well. it is

Re: Debug

2007-01-08 Thread Henrik Nordstrom
tis 2007-01-09 klockan 13:30 +1300 skrev Amos Jeffries: Over the last two days. The more I work on this the more I wish there was some developer documentation saying things like this clearly available in the source or on the website. So newbies like myself can quickly get a picture of