]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
debug levels
authorwessels <>
Wed, 19 Aug 1998 10:32:14 +0000 (10:32 +0000)
committerwessels <>
Wed, 19 Aug 1998 10:32:14 +0000 (10:32 +0000)
src/store_swapout.cc
src/url.cc

index cb56123d9eea3dcbbe083eabb9a13fa72e03567a..e4d8c6eddf880c4560b4ddbf74d197e365c246a6 100644 (file)
@@ -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;
index 6c5a5f0dc6e51fd4ef299bfc15611b3419fdd15c..34dceb0fb7a0ac006cfaa65c386ab82a7da1f49f 100644 (file)
@@ -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) {