From: Francesco Chemolli Date: Mon, 12 Jan 2015 12:06:38 +0000 (+0100) Subject: Small debugs improvements X-Git-Tag: merge-candidate-3-v1~345^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e20d485b4f6d5644a5a14a2fe30990567db9d1c3;p=thirdparty%2Fsquid.git Small debugs improvements --- diff --git a/src/acl/Acl.cc b/src/acl/Acl.cc index 75ed78aa08..732c5b4363 100644 --- a/src/acl/Acl.cc +++ b/src/acl/Acl.cc @@ -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 } diff --git a/src/acl/UserData.cc b/src/acl/UserData.cc index 285c3abc77..bd1b7e0875 100644 --- a/src/acl/UserData.cc +++ b/src/acl/UserData.cc @@ -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; }