]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[1502] fixed log parameters for LIBXFRIN_DIFFERENT_TTL. this will solve #1471.
authorJINMEI Tatuya <jinmei@isc.org>
Fri, 23 Dec 2011 04:16:29 +0000 (20:16 -0800)
committerJINMEI Tatuya <jinmei@isc.org>
Fri, 23 Dec 2011 04:16:29 +0000 (20:16 -0800)
src/lib/python/isc/xfrin/diff.py
src/lib/python/isc/xfrin/libxfrin_messages.mes

index ffa5a3c0f5f1aceef3d7e285d645be4bcfec150e..f9f5d510e443f568acd9a0baec8b6c3766ef7baf 100644 (file)
@@ -188,7 +188,8 @@ class Diff:
                                               rrset.get_ttl())))
             if rrset.get_ttl() != buf[-1][1].get_ttl():
                 logger.warn(LIBXFRIN_DIFFERENT_TTL, rrset.get_ttl(),
-                            buf[-1][1].get_ttl())
+                            buf[-1][1].get_ttl(), rrset.get_name(),
+                            rrset.get_class(), rrset.get_type())
             for rdatum in rrset.get_rdata():
                 buf[-1][1].add_rdata(rdatum)
         self.__buffer = buf
index 203e31fa445d410e91a021af80aeb3e8cd88d2ce..b948e022e3f4cf9f04fa172f34ba793ee15e4cc2 100644 (file)
 # No namespace declaration - these constants go in the global namespace
 # of the libxfrin_messages python module.
 
-% LIBXFRIN_DIFFERENT_TTL multiple data with different TTLs (%1, %2) on %3/%4. Adjusting %2 -> %1.
+% LIBXFRIN_DIFFERENT_TTL multiple data with different TTLs (%1, %2) on %3/%4/%5. Adjusting %2 -> %1.
 The xfrin module received an update containing multiple rdata changes for the
 same RRset. But the TTLs of these don't match each other. As we combine them
-together, the later one get's overwritten to the earlier one in the sequence.
+together, the latter one gets overwritten to the earlier one in the sequence.
 
 % LIBXFRIN_NO_JOURNAL disabled journaling for updates to %1 on %2
 An attempt was made to create a Diff object with journaling enabled, but