From: robertc <> Date: Thu, 20 Feb 2003 04:23:51 +0000 (+0000) Subject: Summary: Raise debug levels. X-Git-Tag: SQUID_3_0_PRE1~325 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=61fb2d9aafc52ce285caf380a11b93ea8aa77d1d;p=thirdparty%2Fsquid.git Summary: Raise debug levels. Keywords: Some debug levels for user-irrelevant activities were way to verbose. Fixed this. --- diff --git a/src/client_side_reply.cc b/src/client_side_reply.cc index 140fe43785..971dc81fc7 100644 --- a/src/client_side_reply.cc +++ b/src/client_side_reply.cc @@ -1,6 +1,6 @@ /* - * $Id: client_side_reply.cc,v 1.39 2003/02/13 08:07:47 robertc Exp $ + * $Id: client_side_reply.cc,v 1.40 2003/02/19 21:23:51 robertc Exp $ * * DEBUG: section 88 Client-side Reply Routines * AUTHOR: Robert Collins (Originally Duane Wessels in client_side.c) @@ -232,7 +232,7 @@ void clientReplyContext::saveState(clientHttpRequest * http) { assert(old_sc == NULL); - debug(88, 1)("clientReplyContext::saveState: saving store context\n"); + debug(88, 3)("clientReplyContext::saveState: saving store context\n"); http->old_entry = http->entry; old_sc = sc; old_reqsize = reqsize; @@ -248,7 +248,7 @@ void clientReplyContext::restoreState(clientHttpRequest * http) { assert(old_sc != NULL); - debug(88, 1)("clientReplyContext::restoreState: Restoring store context\n"); + debug(88, 3)("clientReplyContext::restoreState: Restoring store context\n"); http->entry = http->old_entry; sc = old_sc; reqsize = old_reqsize; diff --git a/src/fs/aufs/store_io_aufs.cc b/src/fs/aufs/store_io_aufs.cc index f70cf0898a..dab875bef2 100644 --- a/src/fs/aufs/store_io_aufs.cc +++ b/src/fs/aufs/store_io_aufs.cc @@ -107,7 +107,7 @@ AUFSFile::deleteSelf() const {delete this;} AUFSFile::AUFSFile (char const *aPath, AufsIO *anIO):fd(-1), errorOccured (false), IO(anIO) { assert (aPath); - debug (79,0)("UFSFile::UFSFile: %s\n", aPath); + debug (79,3)("UFSFile::UFSFile: %s\n", aPath); path_ = xstrdup (aPath); } diff --git a/src/fs/diskd/store_io_diskd.cc b/src/fs/diskd/store_io_diskd.cc index aceffabe3c..3991e01544 100644 --- a/src/fs/diskd/store_io_diskd.cc +++ b/src/fs/diskd/store_io_diskd.cc @@ -1,6 +1,6 @@ /* - * $Id: store_io_diskd.cc,v 1.31 2003/01/23 00:38:15 robertc Exp $ + * $Id: store_io_diskd.cc,v 1.32 2003/02/19 21:23:53 robertc Exp $ * * DEBUG: section 79 Squid-side DISKD I/O functions. * AUTHOR: Duane Wessels @@ -170,14 +170,14 @@ DiskdFile::operator new (size_t) /* Mark result as being owned - we want the refcounter to do the delete * call */ cbdataReference(result); - debug (0,0)("diskdFile with base %p allocating\n", result); + debug (79,3)("diskdFile with base %p allocating\n", result); return result; } void DiskdFile::operator delete (void *address) { - debug (0,0)("diskdFile with base %p deleting\n",address); + debug (79,3)("diskdFile with base %p deleting\n",address); DiskdFile *t = static_cast(address); cbdataFree(address); /* And allow the memory to be freed */ @@ -190,7 +190,7 @@ DiskdFile::deleteSelf() const {delete this;} DiskdFile::DiskdFile (char const *aPath, DiskdIO *anIO) : errorOccured (false), IO(anIO) { assert (aPath); - debug (79,0)("DiskdFile::DiskdFile: %s\n", aPath); + debug (79,3)("DiskdFile::DiskdFile: %s\n", aPath); path_ = xstrdup (aPath); id = diskd_stats.sio_id++; } @@ -203,7 +203,7 @@ DiskdFile::~DiskdFile() void DiskdFile::open (int flags, mode_t aMode, IORequestor::Pointer callback) { - debug (79,0)("DiskdFile::open: %p opening for %p\n", this, callback.getRaw()); + debug (79,3)("DiskdFile::open: %p opening for %p\n", this, callback.getRaw()); assert (ioRequestor.getRaw() == NULL); ioRequestor = callback; assert (callback.getRaw()); @@ -229,7 +229,7 @@ DiskdFile::open (int flags, mode_t aMode, IORequestor::Pointer callback) void DiskdFile::create (int flags, mode_t aMode, IORequestor::Pointer callback){ - debug (79,0)("DiskdFile::create: %p creating for %p\n", this, callback.getRaw()); + debug (79,3)("DiskdFile::create: %p creating for %p\n", this, callback.getRaw()); assert (ioRequestor.getRaw() == NULL); ioRequestor = callback; assert (callback.getRaw()); @@ -283,7 +283,7 @@ DiskdFile::read(char *buf, off_t offset, size_t size) void DiskdFile::close() { - debug (79,0)("DiskdFile::close: %p closing for %p\n", this, ioRequestor.getRaw()); + debug (79,3)("DiskdFile::close: %p closing for %p\n", this, ioRequestor.getRaw()); assert (ioRequestor.getRaw()); int x = storeDiskdSend(_MQD_CLOSE, IO, @@ -399,14 +399,14 @@ diskdstate_t::operator new (size_t) /* Mark result as being owned - we want the refcounter to do the delete * call */ cbdataReference(result); - debug (0,0)("diskdstate with base %p allocating\n", result); + debug (79,3)("diskdstate with base %p allocating\n", result); return result; } void diskdstate_t::operator delete (void *address) { - debug (0,0)("diskdstate with base %p deleting\n",address); + debug (79,3)("diskdstate with base %p deleting\n",address); diskdstate_t *t = static_cast(address); cbdataFree(address); /* And allow the memory to be freed */ diff --git a/src/fs/ufs/store_io_ufs.cc b/src/fs/ufs/store_io_ufs.cc index 433a5b265c..e16e4e3d30 100644 --- a/src/fs/ufs/store_io_ufs.cc +++ b/src/fs/ufs/store_io_ufs.cc @@ -1,6 +1,6 @@ /* - * $Id: store_io_ufs.cc,v 1.15 2003/01/23 00:38:22 robertc Exp $ + * $Id: store_io_ufs.cc,v 1.16 2003/02/19 21:23:52 robertc Exp $ * * DEBUG: section 79 Storage Manager UFS Interface * AUTHOR: Duane Wessels @@ -123,7 +123,7 @@ UFSFile::deleteSelf() const {delete this;} UFSFile::UFSFile (char const *aPath) : fd (-1) { assert (aPath); - debug (79,0)("UFSFile::UFSFile: %s\n", aPath); + debug (79,3)("UFSFile::UFSFile: %s\n", aPath); path_ = xstrdup (aPath); } @@ -168,7 +168,7 @@ void UFSFile::doClose() void UFSFile::close () { - debug (79,0)("UFSFile::close: %p closing for %p\n", this, ioRequestor.getRaw()); + debug (79,3)("UFSFile::close: %p closing for %p\n", this, ioRequestor.getRaw()); doClose(); assert (ioRequestor.getRaw()); ioRequestor->closeCompleted();