Commit 4263ba5f authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[2420] use "RRSIG(<covered>)" in logging for RRSIG-only RRsets

parent f31f6dd3
......@@ -22,6 +22,7 @@
#include <dns/rdataclass.h>
#include <cassert>
#include <string>
using namespace isc::dns;
using namespace isc::dns::rdata;
......@@ -359,8 +360,9 @@ ZoneDataUpdater::add(const ConstRRsetPtr& rrset,
getCoveredType(sig_rrset);
// OK, can add the RRset.
LOG_DEBUG(logger, DBG_TRACE_DATA, DATASRC_MEMORY_MEM_ADD_RRSET).
arg(name).arg(rrtype).arg(zone_name_);
LOG_DEBUG(logger, DBG_TRACE_DATA, DATASRC_MEMORY_MEM_ADD_RRSET).arg(name).
arg(rrset ? rrtype.toText() : "RRSIG(" + rrtype.toText() + ")").
arg(zone_name_);
// Add wildcards possibly contained in the owner name to the domain
// tree. This can only happen for the normal (non-NSEC3) tree.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment