]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Comment out some debugging messages that are printed before cache_log
authorwessels <>
Fri, 13 Apr 2007 01:37:23 +0000 (01:37 +0000)
committerwessels <>
Fri, 13 Apr 2007 01:37:23 +0000 (01:37 +0000)
is initialized because we see them on stderr for commands like
squid -k reconfigure.

src/DiskIO/DiskDaemon/DiskDaemonDiskIOModule.cc
src/mem.cc

index bd34d0c59a0fecba40f6ae28dc7b8c023b063bca..a0aad76a16cfa50406a979eb681821e76051866b 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: DiskDaemonDiskIOModule.cc,v 1.3 2006/05/29 00:15:03 robertc Exp $
+ * $Id: DiskDaemonDiskIOModule.cc,v 1.4 2007/04/12 19:37:24 wessels Exp $
  *
  * SQUID Web Proxy Cache          http://www.squid-cache.org/
  * ----------------------------------------------------------
@@ -59,7 +59,15 @@ DiskDaemonDiskIOModule::init()
      */
     assert(!initialised);
     memset(&diskd_stats, '\0', sizeof(diskd_stats));
+#if 0
+    /*
+     * DPW 2007-04-12
+     * No debugging here please because this method is called before
+     * the debug log is configured and we'll get the message on
+     * stderr when doing things like 'squid -k reconfigure'
+     */
     debugs(47, 1, "diskd started");
+#endif
     initialised = true;
 }
 
index 1b4ec8bf88743a970cce725174a2f420647f67cd..f698caaebc4887636a6e400b17c2361ad353c744 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: mem.cc,v 1.101 2006/09/03 21:05:20 hno Exp $
+ * $Id: mem.cc,v 1.102 2007/04/12 19:37:23 wessels Exp $
  *
  * DEBUG: section 13    High Level Memory Pool Management
  * AUTHOR: Harvest Derived
@@ -354,8 +354,16 @@ memConfigure(void)
     else
         new_pool_limit = mem_unlimited_size;
 
+#if 0
+    /*
+     * DPW 2007-04-12
+     * No debugging here please because this method is called before
+     * the debug log is configured and we'll get the message on
+     * stderr when doing things like 'squid -k reconfigure'
+     */
     if (MemPools::GetInstance().idleLimit() > new_pool_limit)
         debug(13, 1) ("Shrinking idle mem pools to %.2f MB\n", toMB(new_pool_limit));
+#endif
 
     MemPools::GetInstance().setIdleLimit(new_pool_limit);
 }