Browse Source

[2025] Log a message when a notify is received by b10-auth

Mukund Sivaraman 13 years ago
parent
commit
ca4a4409f4
2 changed files with 6 additions and 0 deletions
  1. 3 0
      src/bin/auth/auth_messages.mes
  2. 3 0
      src/bin/auth/auth_srv.cc

+ 3 - 0
src/bin/auth/auth_messages.mes

@@ -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

+ 3 - 0
src/bin/auth/auth_srv.cc

@@ -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 =