/*
- * $Id: client_side.cc,v 1.374 1998/08/04 06:01:38 wessels Exp $
+ * $Id: client_side.cc,v 1.375 1998/08/05 06:04:59 wessels Exp $
*
* DEBUG: section 33 Client-side Routines
* AUTHOR: Duane Wessels
fd, storeUrl(entry), (int) http->out.offset);
if (conn->chr != http) {
/* there is another object in progress, defer this one */
- debug(0, 0) ("clientSendMoreData: Deferring %s\n", storeUrl(entry));
+ debug(33, 1) ("clientSendMoreData: Deferring %s\n", storeUrl(entry));
memFree4K(buf);
return;
} else if (entry && entry->store_status == STORE_ABORTED) {
/*
- * $Id: icmp.cc,v 1.61 1998/07/22 20:37:28 wessels Exp $
+ * $Id: icmp.cc,v 1.62 1998/08/05 06:05:01 wessels Exp $
*
* DEBUG: section 37 ICMP Routines
* AUTHOR: Duane Wessels
sizeof(pingerReplyData),
0);
if (n < 0) {
- debug(50, 0) ("icmpRecv: recv: %s\n", xstrerror());
+ debug(50, 1) ("icmpRecv: recv: %s\n", xstrerror());
if (++fail_count == 10 || errno == ECONNREFUSED)
icmpClose();
return;
netdbHandlePingReply(&F, preply.hops, preply.rtt);
break;
default:
- debug(37, 0) ("icmpRecv: Bad opcode: %d\n", (int) preply.opcode);
+ debug(37, 1) ("icmpRecv: Bad opcode: %d\n", (int) preply.opcode);
break;
}
}
icmp_sock = rfd;
commSetSelect(icmp_sock, COMM_SELECT_READ, icmpRecv, NULL, 0);
commSetTimeout(icmp_sock, -1, NULL, NULL);
- debug(29, 0) ("Pinger socket opened on FD %d\n", icmp_sock);
+ debug(29, 1) ("Pinger socket opened on FD %d\n", icmp_sock);
#endif
}
#if USE_ICMP
if (icmp_sock < 0)
return;
- debug(29, 0) ("Closing Pinger socket on FD %d\n", icmp_sock);
+ debug(29, 1) ("Closing Pinger socket on FD %d\n", icmp_sock);
comm_close(icmp_sock);
icmp_sock = -1;
#endif
/*
- * $Id: main.cc,v 1.265 1998/07/31 02:40:29 wessels Exp $
+ * $Id: main.cc,v 1.266 1998/08/05 06:05:02 wessels Exp $
*
* DEBUG: section 1 Startup and Main Loop
* AUTHOR: Harvest Derived
if (theOutIcpConnection >= 0 && (!Config2.Accel.on || Config.onoff.accel_with_proxy))
neighbors_open(theOutIcpConnection);
storeDirOpenSwapLogs();
- debug(1, 0) ("Ready to serve requests.\n");
+ debug(1, 1) ("Ready to serve requests.\n");
reconfiguring = 0;
}
debug(1, 0) ("Starting Squid Cache version %s for %s...\n",
version_string,
CONFIG_HOST_TYPE);
- debug(1, 0) ("Process ID %d\n", (int) getpid());
+ debug(1, 1) ("Process ID %d\n", (int) getpid());
debug(1, 1) ("With %d file descriptors available\n", Squid_MaxFD);
if (!configured_once)
squid_signal(SIGALRM, time_tick, SA_RESTART);
alarm(1);
#endif
- debug(1, 0) ("Ready to serve requests.\n");
+ debug(1, 1) ("Ready to serve requests.\n");
if (!configured_once) {
eventAdd("storeMaintain", storeMaintainSwapSpace, NULL, 1.0, 1);
/*
- * $Id: net_db.cc,v 1.120 1998/07/22 20:37:38 wessels Exp $
+ * $Id: net_db.cc,v 1.121 1998/08/05 06:05:02 wessels Exp $
*
* DEBUG: section 37 Network Measurement Database
* AUTHOR: Duane Wessels
}
fclose(fp);
getCurrentTime();
- debug(37, 0) ("NETDB state saved; %d entries, %d msec\n",
+ debug(37, 1) ("NETDB state saved; %d entries, %d msec\n",
count, tvSubMsec(start, current_time));
eventAddIsh("netdbSaveState", netdbSaveState, NULL, 3600.0, 1);
}
memFree(MEM_4K_BUF, buf);
fclose(fp);
getCurrentTime();
- debug(37, 0) ("NETDB state reloaded; %d entries, %d msec\n",
+ debug(37, 1) ("NETDB state reloaded; %d entries, %d msec\n",
count, tvSubMsec(start, current_time));
}
/*
- * $Id: unlinkd.cc,v 1.24 1998/08/03 19:29:09 wessels Exp $
+ * $Id: unlinkd.cc,v 1.25 1998/08/05 06:05:03 wessels Exp $
*
* DEBUG: section 12 Unlink Daemon
* AUTHOR: Duane Wessels
commSetTimeout(unlinkd_wfd, -1, NULL, NULL);
commSetNonBlocking(unlinkd_wfd);
commSetNonBlocking(unlinkd_rfd);
- debug(12, 0) ("Unlinkd pipe opened on FD %d\n", unlinkd_wfd);
+ debug(12, 1) ("Unlinkd pipe opened on FD %d\n", unlinkd_wfd);
#endif
}