]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Change diskd default DebugLevel to 0
authorwessels <>
Wed, 25 Apr 2007 22:41:56 +0000 (22:41 +0000)
committerwessels <>
Wed, 25 Apr 2007 22:41:56 +0000 (22:41 +0000)
At DebugLevel = 1, diskd prints "errors" to cache.log when operations
such as open, read, and unlink fail.  These "errors" are not fatal.
In fact, some are to be expected due to the asynchronous nature of
diskd.  The upper layers of Squid are designed to handle these
"errors" gracefully.  They should not be in the log by default
because naive users may report them as bugs.

src/DiskIO/DiskDaemon/diskd.cc

index 6a8e37b86ee615a05de643e1fc25cb21bcdbef25..ac51d4d89725d46321dafde63767caa2a3867d8f 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: diskd.cc,v 1.6 2007/04/12 23:51:57 wessels Exp $
+ * $Id: diskd.cc,v 1.7 2007/04/25 16:41:56 wessels Exp $
  *
  * DEBUG: section --    External DISKD process implementation.
  * AUTHOR: Harvest Derived
@@ -66,7 +66,7 @@ struct _file_state
 static hash_table *hash = NULL;
 static pid_t mypid;
 static char *shmbuf;
-static int DebugLevel = 1;
+static int DebugLevel = 0;
 
 static int
 do_open(diomsg * r, int len, const char *buf)