From 18eeb6a5a757670a30417578483b374c6a2e9c80 Mon Sep 17 00:00:00 2001 From: wessels <> Date: Wed, 19 Aug 1998 10:32:14 +0000 Subject: [PATCH] debug levels --- src/store_swapout.cc | 6 +++--- src/url.cc | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/store_swapout.cc b/src/store_swapout.cc index cb56123d9e..e4d8c6eddf 100644 --- a/src/store_swapout.cc +++ b/src/store_swapout.cc @@ -1,6 +1,6 @@ /* - * $Id: store_swapout.cc,v 1.22 1998/07/22 20:54:04 wessels Exp $ + * $Id: store_swapout.cc,v 1.23 1998/08/19 04:32:14 wessels Exp $ * * DEBUG: section 20 Storage Manager Swapout Functions * AUTHOR: Duane Wessels @@ -281,8 +281,8 @@ storeSwapOutFileOpened(void *data, int fd, int errcode) } assert(e->swap_status == SWAPOUT_OPENING); if (fd < 0) { - debug(20, 0) ("storeSwapOutFileOpened: Unable to open swapfile: %s\n", - ctrlp->swapfilename); + debug(20, 0) ("storeSwapOutFileOpened: Unable to open swapfile: %s\n\t%s\n", + ctrlp->swapfilename, xstrerror()); storeDirMapBitReset(e->swap_file_number); e->swap_file_number = -1; e->swap_status = ctrlp->oldswapstatus; diff --git a/src/url.cc b/src/url.cc index 6c5a5f0dc6..34dceb0fb7 100644 --- a/src/url.cc +++ b/src/url.cc @@ -1,6 +1,6 @@ /* - * $Id: url.cc,v 1.105 1998/08/17 23:49:56 wessels Exp $ + * $Id: url.cc,v 1.106 1998/08/19 04:32:15 wessels Exp $ * * DEBUG: section 23 URL Parsing * AUTHOR: Duane Wessels @@ -202,7 +202,7 @@ urlParse(method_t method, char *url) if ((l = strlen(url)) + Config.appendDomainLen > (MAX_URL - 1)) { /* terminate so it doesn't overflow other buffers */ *(url + (MAX_URL >> 1)) = '\0'; - debug(23, 0) ("urlParse: URL too large (%d bytes)\n", l); + debug(23, 1) ("urlParse: URL too large (%d bytes)\n", l); return NULL; } if (method == METHOD_CONNECT) { -- 2.47.3