]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Polished WCCPv1 and v2 debug statements.
authorrousskov <>
Wed, 8 Aug 2007 20:47:41 +0000 (20:47 +0000)
committerrousskov <>
Wed, 8 Aug 2007 20:47:41 +0000 (20:47 +0000)
src/wccp.cc
src/wccp2.cc

index a3c6e26953eb7018d3e3c1172a7d26c2698d9a2b..4c87569412bb7f60792ca5da1dc19f52f2245f0a 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: wccp.cc,v 1.43 2007/04/30 16:56:09 wessels Exp $
+ * $Id: wccp.cc,v 1.44 2007/08/08 14:47:41 rousskov Exp $
  *
  * DEBUG: section 80    WCCP Support
  * AUTHOR: Glenn Chisholm
@@ -139,7 +139,7 @@ wccpConnectionOpen(void)
     debugs(80, 5, "wccpConnectionOpen: Called");
 
     if (Config.Wccp.router.s_addr == any_addr.s_addr) {
-        debugs(1, 1, "WCCP Disabled.");
+        debugs(80, 2, "WCCPv1 disabled.");
         return;
     }
 
@@ -159,7 +159,7 @@ wccpConnectionOpen(void)
                   NULL,
                   0);
 
-    debugs(1, 1, "Accepting WCCP messages on port " << port << ", FD " << theWccpConnection << ".");
+    debugs(80, 1, "Accepting WCCPv1 messages on port " << port << ", FD " << theWccpConnection << ".");
 
 
     router_len = sizeof(router);
@@ -190,7 +190,7 @@ void
 wccpConnectionClose(void)
 {
     if (theWccpConnection > -1) {
-        debugs(80, 1, "FD " << theWccpConnection << " Closing WCCP socket");
+        debugs(80, 1, "FD " << theWccpConnection << " Closing WCCPv1 socket");
         comm_close(theWccpConnection);
         theWccpConnection = -1;
     }
index 03e443180d18b223f6149ec45672da2f66dcf8a7..f2529ca3d3b17d303707c420bd9257fd5197cf5a 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: wccp2.cc,v 1.16 2007/04/30 16:56:09 wessels Exp $
+ * $Id: wccp2.cc,v 1.17 2007/08/08 14:47:41 rousskov Exp $
  *
  * DEBUG: section 80    WCCP Support
  * AUTHOR: Steven Wilton
@@ -1047,7 +1047,7 @@ wccp2ConnectionClose(void)
     }
 
     if (theWccp2Connection > -1) {
-        debugs(80, 1, "FD " << theWccp2Connection << " Closing WCCP socket");
+        debugs(80, 1, "FD " << theWccp2Connection << " Closing WCCPv2 socket");
         comm_close(theWccp2Connection);
         theWccp2Connection = -1;
     }