[svn] commit: r2355 - /trunk/src/bin/xfrout/xfrout.py.in

BIND 10 source code commits bind10-changes at lists.isc.org
Wed Jun 30 17:31:39 UTC 2010


Author: jinmei
Date: Wed Jun 30 17:31:39 2010
New Revision: 2355

Log:
added a log message when xfrout fails because the zone is unavailable for some reason.
okayed by Jeremy on jabber.

Modified:
    trunk/src/bin/xfrout/xfrout.py.in

Modified: trunk/src/bin/xfrout/xfrout.py.in
==============================================================================
--- trunk/src/bin/xfrout/xfrout.py.in (original)
+++ trunk/src/bin/xfrout/xfrout.py.in Wed Jun 30 17:31:39 2010
@@ -176,6 +176,8 @@
         zone_name = self._get_query_zone_name(msg)
         rcode_ = self._check_xfrout_available(zone_name)
         if rcode_ != rcode.NOERROR():
+            self._log.log_message("info", "transfer of '%s/IN' failed: %s",
+                                  zone_name, rcode_.to_text())
             return self. _reply_query_with_error_rcode(msg, sock, rcode_)
 
         try:




More information about the bind10-changes mailing list