]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Summary: Raise debug levels.
authorrobertc <>
Thu, 20 Feb 2003 04:23:51 +0000 (04:23 +0000)
committerrobertc <>
Thu, 20 Feb 2003 04:23:51 +0000 (04:23 +0000)
Keywords:

Some debug levels for user-irrelevant activities were way to verbose. Fixed this.

src/client_side_reply.cc
src/fs/aufs/store_io_aufs.cc
src/fs/diskd/store_io_diskd.cc
src/fs/ufs/store_io_ufs.cc

index 140fe437855c10ca8a465fc173d75db95e24fe51..971dc81fc7e693241e291b2208d917e369ae24cd 100644 (file)
@@ -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;
index f70cf0898add5ee8f5eb309df211db58b231cf7a..dab875bef272d7e427ec7ec2f9c9d54363c4d1c9 100644 (file)
@@ -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);
 }
 
index aceffabe3cb072d428e9f1ac0c3659f71468a065..3991e01544a06eed9bcbd6ded719d5b589f2ef00 100644 (file)
@@ -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<DiskdFile *>(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<diskdstate_t *>(address);
     cbdataFree(address);
     /* And allow the memory to be freed */
index 433a5b265c612e7ac5b5664654b6317dac613b6d..e16e4e3d30e4ad74852355ecc734af9f5df281bf 100644 (file)
@@ -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();