/*
- * $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
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;
/*
- * $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
/* 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 */
/*
- * $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
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();
#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);
/*
- * $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
} 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;
}
/*
- * $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
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