]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2025] Log a message when a notify is received by b10-auth
authorMukund Sivaraman <muks@isc.org>
Thu, 21 Jun 2012 09:18:17 +0000 (14:48 +0530)
committerMukund Sivaraman <muks@isc.org>
Thu, 21 Jun 2012 09:18:17 +0000 (14:48 +0530)
src/bin/auth/auth_messages.mes
src/bin/auth/auth_srv.cc

index 9ac2c499ef24eadf334ac288f03ff89319ce3743..0805d855fd0a8f294c230a80e1cb6f7c450d707e 100644 (file)
@@ -110,6 +110,9 @@ look into the cause and address the issue.  The log message includes
 the client's address (and port), and the error message sent from the
 lower layer that detects the failure.
 
+% AUTH_PROCESS_NOTIFY processing incoming NOTIFY for zone name %1, zone class %2
+This is a debug message reporting that an incoming NOTIFY is being processed.
+
 % AUTH_NOTIFY_QUESTIONS invalid number of questions (%1) in incoming NOTIFY
 This debug message is logged by the authoritative server when it receives
 a NOTIFY packet that contains zero or more than one question. (A valid
index 2a47c3882208b98281ad9358310d68a9ae00f8bc..f06f0238cbe4b2fb5b2c1d70240f3dccc9bd180e 100644 (file)
@@ -828,6 +828,9 @@ AuthSrvImpl::processNotify(const IOMessage& io_message, Message& message,
         return (false);
     }
 
+    LOG_DEBUG(auth_logger, DBG_AUTH_DETAIL, AUTH_PROCESS_NOTIFY)
+      .arg(question->getName().toText()).arg(question->getClass().toText());
+
     const string remote_ip_address =
         io_message.getRemoteEndpoint().getAddress().toText();
     static const string command_template_start =