Commit 875e88e7 authored by Bob Halley's avatar Bob Halley
Browse files

move some debugging output from level 1 to level 3

parent 852a7a71
......@@ -823,20 +823,20 @@ clean_finds_at_name(dns_adbname_t *name, isc_eventtype_t evtype,
switch (evtype) {
case DNS_EVENT_ADBMOREADDRESSES:
DP(1, "DNS_EVENT_ADBMOREADDRESSES");
DP(3, "DNS_EVENT_ADBMOREADDRESSES");
if ((wanted & addrs) != 0) {
DP(1, "processing");
DP(3, "processing");
find->flags &= ~addrs;
process = ISC_TRUE;
}
break;
case DNS_EVENT_ADBNOMOREADDRESSES:
DP(1, "DNS_EVENT_ADBNOMOREADDRESSES");
DP(3, "DNS_EVENT_ADBNOMOREADDRESSES");
find->flags &= ~addrs;
wanted = find->flags & DNS_ADBFIND_ADDRESSMASK;
if (wanted == 0) {
process = ISC_TRUE;
DP(1, "processing");
DP(3, "processing");
}
break;
default:
......@@ -2899,10 +2899,10 @@ dbfind_name(dns_adbname_t *adbname, isc_stdtime_t now,
*/
if (rdtype == dns_rdatatype_a) {
adbname->expire_v4 = rdataset.ttl + now;
DP(1, "adb name %p: Caching negative entry for A (ttl %u)",
DP(3, "adb name %p: Caching negative entry for A (ttl %u)",
adbname, rdataset.ttl);
} else {
DP(1, "adb name %p: Caching negative entry for AAAA (ttl %u)",
DP(3, "adb name %p: Caching negative entry for AAAA (ttl %u)",
adbname, rdataset.ttl);
adbname->expire_v6 = rdataset.ttl + now;
}
......@@ -3001,7 +3001,7 @@ fetch_callback(isc_task_t *task, isc_event_t *ev)
name->fetch_aaaa = NULL;
}
if (address_type == 0) {
DP(1, "fetch %p, _a %p, _aaaa %p, name %p",
DP(3, "fetch %p, _a %p, _aaaa %p, name %p",
dev->fetch, name->fetch_a, name->fetch_aaaa, name);
}
INSIST(address_type != 0);
......
......@@ -1818,7 +1818,7 @@ dns_journal_rollforward(isc_mem_t *mctx, dns_db_t *db, const char *filename) {
j = NULL;
result = dns_journal_open(mctx, filename, ISC_FALSE, &j);
if (result == DNS_R_NOTFOUND) {
isc_log_write(JOURNAL_DEBUG_LOGARGS(1),
isc_log_write(JOURNAL_DEBUG_LOGARGS(3),
"no journal file, but that's OK");
return (DNS_R_SUCCESS);
}
......
Markdown is supported
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