From: wessels <> Date: Tue, 28 Oct 1997 05:49:48 +0000 (+0000) Subject: Tone down debug levels X-Git-Tag: SQUID_3_0_PRE1~4664 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dd8037ab785c15d5b861a838214c14e4ae909139;p=thirdparty%2Fsquid.git Tone down debug levels --- diff --git a/src/ftp.cc b/src/ftp.cc index 2160909042..ee0cddcf5a 100644 --- a/src/ftp.cc +++ b/src/ftp.cc @@ -1,6 +1,6 @@ /* - * $Id: ftp.cc,v 1.153 1997/10/26 07:16:38 wessels Exp $ + * $Id: ftp.cc,v 1.154 1997/10/27 22:49:48 wessels Exp $ * * DEBUG: section 9 File Transfer Protocol (FTP) * AUTHOR: Harvest Derived @@ -1560,7 +1560,7 @@ static void ftpAbort(void *data) { FtpStateData *ftpState = data; - debug(9, 1) ("ftpAbort: %s\n", ftpState->entry->url); + debug(9, 2) ("ftpAbort: %s\n", ftpState->entry->url); if (ftpState->data.fd >= 0) { comm_close(ftpState->data.fd); ftpState->data.fd = -1; diff --git a/src/http.cc b/src/http.cc index 621f41c3ea..ccd056804e 100644 --- a/src/http.cc +++ b/src/http.cc @@ -1,6 +1,6 @@ /* - * $Id: http.cc,v 1.202 1997/10/26 02:35:32 wessels Exp $ + * $Id: http.cc,v 1.203 1997/10/27 22:49:49 wessels Exp $ * * DEBUG: section 11 Hypertext Transfer Protocol (HTTP) * AUTHOR: Harvest Derived @@ -1041,7 +1041,7 @@ static void httpRestart(HttpStateData * httpState) { /* restart a botched request from a persistent connection */ - debug(11, 1) ("Retrying HTTP request for %s\n", httpState->entry->url); + debug(11, 2) ("Retrying HTTP request for %s\n", httpState->entry->url); if (httpState->fd >= 0) { comm_remove_close_handler(httpState->fd, httpStateFree, httpState); comm_close(httpState->fd); @@ -1123,7 +1123,7 @@ static void httpAbort(void *data) { HttpStateData *httpState = data; - debug(11, 1) ("httpAbort: %s\n", httpState->entry->url); + debug(11, 2) ("httpAbort: %s\n", httpState->entry->url); comm_close(httpState->fd); } diff --git a/src/store_dir.cc b/src/store_dir.cc index eab245442f..3025346cc4 100644 --- a/src/store_dir.cc +++ b/src/store_dir.cc @@ -1,6 +1,6 @@ /* - * $Id: store_dir.cc,v 1.33 1997/10/25 16:49:06 wessels Exp $ + * $Id: store_dir.cc,v 1.34 1997/10/27 22:49:50 wessels Exp $ * * DEBUG: section 47 Store Directory Routines * AUTHOR: Duane Wessels @@ -373,8 +373,12 @@ storeDirStats(StoreEntry * sentry) int i; SwapDir *SD; storeAppendPrintf(sentry, "Store Directory Statistics:\n"); - storeAppendPrintf(sentry, "Store Entries: %d\n", meta_data.store_entries); - storeAppendPrintf(sentry, "Store Swap Size: %d KB\n", store_swap_size); + storeAppendPrintf(sentry, "Store Entries : %d\n", meta_data.store_entries); + storeAppendPrintf(sentry, "Maximum Swap Size : %8d KB\n", Config.Swap.maxSize); + storeAppendPrintf(sentry, "Current Store Swap Size: %8d KB\n", store_swap_size); + storeAppendPrintf(sentry, "Current Capacity : %d%% used, %d%% free\n", + percent((int) store_swap_size, (int) Config.Swap.maxSize), + percent((int) (Config.Swap.maxSize- store_swap_size), (int) Config.Swap.maxSize)); for (i = 0; i < Config.cacheSwap.n_configured; i++) { SD = &Config.cacheSwap.swapDirs[i]; storeAppendPrintf(sentry, "\n");