From: rousskov <> Date: Wed, 8 Aug 2007 20:47:41 +0000 (+0000) Subject: Polished WCCPv1 and v2 debug statements. X-Git-Tag: SQUID_3_0_PRE7~101 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=76dc4ca319e41e2a39e612bd792a925fbbe4abf9;p=thirdparty%2Fsquid.git Polished WCCPv1 and v2 debug statements. --- diff --git a/src/wccp.cc b/src/wccp.cc index a3c6e26953..4c87569412 100644 --- a/src/wccp.cc +++ b/src/wccp.cc @@ -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; } diff --git a/src/wccp2.cc b/src/wccp2.cc index 03e443180d..f2529ca3d3 100644 --- a/src/wccp2.cc +++ b/src/wccp2.cc @@ -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; }