From d7298d24da3a677f18dfc3377aef29070eac26f0 Mon Sep 17 00:00:00 2001 From: wessels <> Date: Sat, 18 Feb 2006 07:09:35 +0000 Subject: [PATCH] I am changing debugging levels for these frequently-printed messages. They make full debugging virtually worthless because they overwhelm the other messages. For now 'squid -kdebug' changes debugging to 'ALL,7' instead of 'ALL,10' --- src/HttpHeader.cc | 10 +++++----- src/cbdata.cc | 16 ++++++++-------- src/tools.cc | 4 ++-- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/HttpHeader.cc b/src/HttpHeader.cc index 58f8ec77ef..602cf85bc4 100644 --- a/src/HttpHeader.cc +++ b/src/HttpHeader.cc @@ -1,6 +1,6 @@ /* - * $Id: HttpHeader.cc,v 1.110 2005/12/26 11:35:22 serassio Exp $ + * $Id: HttpHeader.cc,v 1.111 2006/02/18 00:09:35 wessels Exp $ * * DEBUG: section 55 HTTP Header * AUTHOR: Alex Rousskov @@ -706,7 +706,7 @@ httpHeaderDelByName(HttpHeader * hdr, const char *name) HttpHeaderPos pos = HttpHeaderInitPos; HttpHeaderEntry *e; httpHeaderMaskInit(&hdr->mask, 0); /* temporal inconsistency */ - debug(55, 7) ("deleting '%s' fields in hdr %p\n", name, hdr); + debug(55, 9) ("deleting '%s' fields in hdr %p\n", name, hdr); while ((e = httpHeaderGetEntry(hdr, &pos))) { if (!e->name.caseCmp(name)) { @@ -773,7 +773,7 @@ httpHeaderAddEntry(HttpHeader * hdr, HttpHeaderEntry * e) assert(hdr && e); assert_eid(e->id); - debugs(55, 7, hdr << " adding entry: " << e->id << " at " << + debugs(55, 9, hdr << " adding entry: " << e->id << " at " << hdr->entries.count); if (CBIT_TEST(hdr->mask, e->id)) @@ -816,7 +816,7 @@ httpHeaderGetList(const HttpHeader * hdr, http_hdr_type id) { HttpHeaderEntry *e; HttpHeaderPos pos = HttpHeaderInitPos; - debug(55, 6) ("%p: joining for id %d\n", hdr, id); + debug(55, 9) ("%p: joining for id %d\n", hdr, id); /* only fields from ListHeaders array can be "listed" */ assert(CBIT_TEST(ListHeadersMask, id)); @@ -956,7 +956,7 @@ httpHeaderHas(const HttpHeader * hdr, http_hdr_type id) assert(hdr); assert_eid(id); assert(id != HDR_OTHER); - debug(55, 7) ("%p lookup for %d\n", hdr, id); + debug(55, 9) ("%p lookup for %d\n", hdr, id); return CBIT_TEST(hdr->mask, id); } diff --git a/src/cbdata.cc b/src/cbdata.cc index 852f013534..ac051cb2b1 100644 --- a/src/cbdata.cc +++ b/src/cbdata.cc @@ -1,6 +1,6 @@ /* - * $Id: cbdata.cc,v 1.69 2006/01/24 15:42:27 hno Exp $ + * $Id: cbdata.cc,v 1.70 2006/02/18 00:09:35 wessels Exp $ * * DEBUG: section 45 Callback Data Registry * ORIGINAL AUTHOR: Duane Wessels @@ -294,7 +294,7 @@ cbdataInternalFree(void *p) debug(45, 3) ("cbdataFree: %p %s:%d\n", p, file, line); #else - debug(45, 3) ("cbdataFree: %p\n", p); + debug(45, 9) ("cbdataFree: %p\n", p); #endif c->check(__LINE__); @@ -306,13 +306,13 @@ cbdataInternalFree(void *p) #endif if (c->locks) { - debug(45, 3) ("cbdataFree: %p has %d locks, not freeing\n", + debug(45, 9) ("cbdataFree: %p has %d locks, not freeing\n", p, c->locks); return NULL; } cbdataCount--; - debug(45, 3) ("cbdataFree: Freeing %p\n", p); + debug(45, 9) ("cbdataFree: Freeing %p\n", p); #if CBDATA_DEBUG dlinkDelete(&c->link, &cbdataEntries); @@ -357,7 +357,7 @@ cbdataInternalLock(const void *p) #else - debug(45, 3) ("cbdataLock: %p=%d\n", p, c ? c->locks + 1 : -1); + debug(45, 9) ("cbdataLock: %p=%d\n", p, c ? c->locks + 1 : -1); #endif @@ -390,7 +390,7 @@ cbdataInternalUnlock(const void *p) #else - debug(45, 3) ("cbdataUnlock: %p=%d\n", p, c ? c->locks - 1 : -1); + debug(45, 9) ("cbdataUnlock: %p=%d\n", p, c ? c->locks - 1 : -1); #endif @@ -407,7 +407,7 @@ cbdataInternalUnlock(const void *p) cbdataCount--; - debug(45, 3) ("cbdataUnlock: Freeing %p\n", p); + debug(45, 9) ("cbdataUnlock: Freeing %p\n", p); #if CBDATA_DEBUG @@ -440,7 +440,7 @@ cbdataReferenceValid(const void *p) if (p == NULL) return 1; /* A NULL pointer cannot become invalid */ - debug(45, 3) ("cbdataReferenceValid: %p\n", p); + debug(45, 9) ("cbdataReferenceValid: %p\n", p); c = (cbdata *) (((char *) p) - cbdata::Offset); diff --git a/src/tools.cc b/src/tools.cc index 988128108a..870e304628 100644 --- a/src/tools.cc +++ b/src/tools.cc @@ -1,6 +1,6 @@ /* - * $Id: tools.cc,v 1.264 2005/09/24 13:21:00 serassio Exp $ + * $Id: tools.cc,v 1.265 2006/02/18 00:09:35 wessels Exp $ * * DEBUG: section 21 Misc Functions * AUTHOR: Harvest Derived @@ -399,7 +399,7 @@ sigusr2_handle(int sig) if (state == 0) { #ifndef MEM_GEN_TRACE - Debug::parseOptions("ALL,10"); + Debug::parseOptions("ALL,7"); #else log_trace_done(); -- 2.47.3