]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Small debugs improvements
authorFrancesco Chemolli <kinkie@squid-cache.org>
Mon, 12 Jan 2015 12:06:38 +0000 (13:06 +0100)
committerFrancesco Chemolli <kinkie@squid-cache.org>
Mon, 12 Jan 2015 12:06:38 +0000 (13:06 +0100)
src/acl/Acl.cc
src/acl/UserData.cc

index 75ed78aa08a1ddfe95be85089c366e369e348d02..732c5b4363d71e5159a02a9d0ded187ca53c6dd8 100644 (file)
@@ -376,7 +376,7 @@ ACL::requiresRequest() const
 
 ACL::~ACL()
 {
-    debugs(28, 3, "ACL::~ACL: '" << cfgline << "'");
+    debugs(28, 3, "freeing ACL " << name);
     safe_free(cfgline);
     AclMatchedName = NULL; // in case it was pointing to our name
 }
index 285c3abc77c30401c7e28d7fd360aa2e124e97a2..bd1b7e0875360838d703541d3fc10196a21691e8 100644 (file)
@@ -15,6 +15,7 @@
 #include "Debug.h"
 #include "globals.h"
 #include "util.h"
+#include "SBufAlgos.h"
 
 ACLUserData::~ACLUserData()
 {
@@ -51,6 +52,8 @@ ACLUserData::dump() const
     } else {
         sl.insert(sl.end(), userDataNames.begin(), userDataNames.end());
     }
+
+    debugs(28,5, "ACLUserData dump output: " << SBufContainerJoin(userDataNames,SBuf(" ")));
     return sl;
 }