Re: Associating accesses with cache.log entries

2008-11-27 Thread Henrik Nordstrom
On tor, 2008-11-27 at 14:21 +1100, Mark Nottingham wrote: I've been playing around with associating specific requests with the debug output they generate, with a simple patch to _db_print along these lines: if (Config.Log.accesslogs Config.Log.accesslogs-logfile) { seqnum =

HTCP documentation

2008-11-27 Thread Mark Nottingham
From http://www.squid-cache.org/Versions/v2/2.7/cfgman/ cache_peer.html: use 'htcp' to send HTCP, instead of ICP, queries to the neighbor. You probably also want to set the icp port to 4827 instead of 3130. You must also allow this Squid htcp_access and http_access in the peer Squid

Re: Associating accesses with cache.log entries

2008-11-27 Thread Henrik Nordstrom
fre 2008-11-28 klockan 10:34 +1100 skrev Mark Nottingham: Agreed. How would you pass it into debug()? It looks like _db_print already takes variable length args, By adding it to the context already used by _db_print.. i.e. by extending ctx_enter to take the sequence number in addition to