Browse Source

[trac999] added a log message when (re)configuring query ACL

JINMEI Tatuya 14 years ago
parent
commit
9f2167d3b5
2 changed files with 5 additions and 0 deletions
  1. 1 0
      src/bin/resolver/resolver.cc
  2. 4 0
      src/bin/resolver/resolverdef.mes

+ 1 - 0
src/bin/resolver/resolver.cc

@@ -759,5 +759,6 @@ Resolver::getQueryACL() const {
 
 void
 Resolver::setQueryACL(shared_ptr<const ClientACL> new_acl) {
+    LOG_INFO(resolver_logger, RESOLVER_SETQUERYACL);
     impl_->query_acl_ = new_acl;
 }

+ 4 - 0
src/bin/resolver/resolverdef.mes

@@ -191,3 +191,7 @@ An informational message, this is output when the resolver starts up.
 % UNEXRESP      received unexpected response, ignoring
 A debug message noting that the server has received a response instead of a
 query and is ignoring it.
+
+% SETQUERYACL   query ACL is configured
+A debug message that appears when a new query ACL is configured for the
+resolver.