]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
debugging level adjustment for pagers
authorwessels <>
Tue, 11 Aug 1998 01:37:47 +0000 (01:37 +0000)
committerwessels <>
Tue, 11 Aug 1998 01:37:47 +0000 (01:37 +0000)
src/HttpStatusLine.cc
src/ipc.cc
src/main.cc
src/store_swapin.cc
src/url.cc

index 0d3ed132458a45e61234d3d3e68886875b48de04..6cd04b0fd5fe020ffc133ecc52341f18cf31e892 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: HttpStatusLine.cc,v 1.15 1998/07/22 20:36:50 wessels Exp $
+ * $Id: HttpStatusLine.cc,v 1.16 1998/08/10 19:37:47 wessels Exp $
  *
  * DEBUG: section 57    HTTP Status-line
  * AUTHOR: Alex Rousskov
@@ -222,7 +222,7 @@ httpStatusString(http_status status)
        break;
     default:
        p = "Unknown";
-       debug(57, 0) ("Unknown HTTP status code: %d\n", status);
+       debug(57, 3) ("Unknown HTTP status code: %d\n", status);
        break;
     }
     return p;
index 133dc8e911b46fa351f15b6db3d20fb38ba137a0..b49cb98dd4509bc17e71d61c503be72c0f69902c 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: ipc.cc,v 1.8 1998/08/03 19:28:23 wessels Exp $
+ * $Id: ipc.cc,v 1.9 1998/08/10 19:37:48 wessels Exp $
  *
  * DEBUG: section 54    Interprocess Communication
  * AUTHOR: Duane Wessels
@@ -164,7 +164,7 @@ ipcCreate(int type, const char *prog, char *const args[], const char *name, int
     /* flush or else we get dup data if unbuffered_logs is set */
     logsFlush();
     if ((pid = fork()) < 0) {
-       debug(50, 0) ("ipcCreate: fork: %s\n", xstrerror());
+       debug(50, 1) ("ipcCreate: fork: %s\n", xstrerror());
        return ipcCloseAllFD(prfd, pwfd, crfd, cwfd);
     }
     if (pid > 0) {             /* parent */
index 5d3ba9797a5ddb5f95bcb94d5ae8c723082fb27b..0bfd6603d05f2fb31d7067d4b0a80b9d49ece76b 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: main.cc,v 1.266 1998/08/05 06:05:02 wessels Exp $
+ * $Id: main.cc,v 1.267 1998/08/10 19:37:49 wessels Exp $
  *
  * DEBUG: section 1     Startup and Main Loop
  * AUTHOR: Harvest Derived
@@ -303,7 +303,7 @@ serverConnectionsClose(void)
 static void
 mainReconfigure(void)
 {
-    debug(1, 0) ("Restarting Squid Cache (version %s)...\n", version_string);
+    debug(1, 1) ("Restarting Squid Cache (version %s)...\n", version_string);
     reconfiguring = 1;
     /* Already called serverConnectionsClose and ipcacheShutdownServers() */
     serverConnectionsClose();
@@ -728,7 +728,7 @@ SquidShutdown(void *unused)
 #if MEM_GEN_TRACE
     log_trace_done();
 #endif
-    debug(1, 0) ("Squid Cache (Version %s): Exiting normally.\n",
+    debug(1, 1) ("Squid Cache (Version %s): Exiting normally.\n",
        version_string);
     fclose(debug_log);
     exit(0);
index 2589ab9259f445fbb40eab290a517309fff9b838..cadfe677c6545d0a77a01e4e2d375cf83c10607d 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: store_swapin.cc,v 1.11 1998/07/22 20:54:03 wessels Exp $
+ * $Id: store_swapin.cc,v 1.12 1998/08/10 19:37:50 wessels Exp $
  *
  * DEBUG: section 20    Storage Manager Swapin Functions
  * AUTHOR: Duane Wessels
@@ -119,11 +119,11 @@ storeSwapInFileOpened(void *data, int fd, int errcode)
     } else if (e->swap_status != SWAPOUT_DONE) {
        (void) 0;
     } else if (fstat(fd, &sb) < 0) {
-       debug(20, 0) ("storeSwapInFileOpened: fstat() FD %d: %s\n", fd, xstrerror());
+       debug(20, 1) ("storeSwapInFileOpened: fstat() FD %d: %s\n", fd, xstrerror());
        file_close(fd);
        fd = -1;
     } else if (sb.st_size == 0 || sb.st_size != e->swap_file_sz) {
-       debug(20, 0) ("storeSwapInFileOpened: %s: Size mismatch: %d(fstat) != %d(object)\n", ctrlp->path, (int) sb.st_size, e->swap_file_sz);
+       debug(20, 1) ("storeSwapInFileOpened: %s: Size mismatch: %d(fstat) != %d(object)\n", ctrlp->path, (int) sb.st_size, e->swap_file_sz);
        file_close(fd);
        fd = -1;
     }
index 5f0fff58b820427bcdeb74862a860fbee5a9f1a5..929533a4d69814f49e34d824d27bbb0c3b7f08b5 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: url.cc,v 1.103 1998/07/22 20:38:04 wessels Exp $
+ * $Id: url.cc,v 1.104 1998/08/10 19:37:51 wessels Exp $
  *
  * DEBUG: section 23    URL Parsing
  * AUTHOR: Duane Wessels
@@ -240,7 +240,7 @@ urlParse(method_t method, char *url)
     if (Config.appendDomain && !strchr(host, '.'))
        strncat(host, Config.appendDomain, SQUIDHOSTNAMELEN);
     if (port == 0) {
-       debug(23, 0) ("urlParse: Invalid port == 0\n");
+       debug(23, 3) ("urlParse: Invalid port == 0\n");
        return NULL;
     }
 #ifdef HARDCODE_DENY_PORTS