mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 13:38:26 +00:00
move some debugging output from level 1 to level 3
This commit is contained in:
parent
852a7a71c9
commit
875e88e734
@ -823,20 +823,20 @@ clean_finds_at_name(dns_adbname_t *name, isc_eventtype_t evtype,
|
|||||||
|
|
||||||
switch (evtype) {
|
switch (evtype) {
|
||||||
case DNS_EVENT_ADBMOREADDRESSES:
|
case DNS_EVENT_ADBMOREADDRESSES:
|
||||||
DP(1, "DNS_EVENT_ADBMOREADDRESSES");
|
DP(3, "DNS_EVENT_ADBMOREADDRESSES");
|
||||||
if ((wanted & addrs) != 0) {
|
if ((wanted & addrs) != 0) {
|
||||||
DP(1, "processing");
|
DP(3, "processing");
|
||||||
find->flags &= ~addrs;
|
find->flags &= ~addrs;
|
||||||
process = ISC_TRUE;
|
process = ISC_TRUE;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case DNS_EVENT_ADBNOMOREADDRESSES:
|
case DNS_EVENT_ADBNOMOREADDRESSES:
|
||||||
DP(1, "DNS_EVENT_ADBNOMOREADDRESSES");
|
DP(3, "DNS_EVENT_ADBNOMOREADDRESSES");
|
||||||
find->flags &= ~addrs;
|
find->flags &= ~addrs;
|
||||||
wanted = find->flags & DNS_ADBFIND_ADDRESSMASK;
|
wanted = find->flags & DNS_ADBFIND_ADDRESSMASK;
|
||||||
if (wanted == 0) {
|
if (wanted == 0) {
|
||||||
process = ISC_TRUE;
|
process = ISC_TRUE;
|
||||||
DP(1, "processing");
|
DP(3, "processing");
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
@ -2899,10 +2899,10 @@ dbfind_name(dns_adbname_t *adbname, isc_stdtime_t now,
|
|||||||
*/
|
*/
|
||||||
if (rdtype == dns_rdatatype_a) {
|
if (rdtype == dns_rdatatype_a) {
|
||||||
adbname->expire_v4 = rdataset.ttl + now;
|
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);
|
adbname, rdataset.ttl);
|
||||||
} else {
|
} 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, rdataset.ttl);
|
||||||
adbname->expire_v6 = rdataset.ttl + now;
|
adbname->expire_v6 = rdataset.ttl + now;
|
||||||
}
|
}
|
||||||
@ -3001,7 +3001,7 @@ fetch_callback(isc_task_t *task, isc_event_t *ev)
|
|||||||
name->fetch_aaaa = NULL;
|
name->fetch_aaaa = NULL;
|
||||||
}
|
}
|
||||||
if (address_type == 0) {
|
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);
|
dev->fetch, name->fetch_a, name->fetch_aaaa, name);
|
||||||
}
|
}
|
||||||
INSIST(address_type != 0);
|
INSIST(address_type != 0);
|
||||||
|
@ -1818,7 +1818,7 @@ dns_journal_rollforward(isc_mem_t *mctx, dns_db_t *db, const char *filename) {
|
|||||||
j = NULL;
|
j = NULL;
|
||||||
result = dns_journal_open(mctx, filename, ISC_FALSE, &j);
|
result = dns_journal_open(mctx, filename, ISC_FALSE, &j);
|
||||||
if (result == DNS_R_NOTFOUND) {
|
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");
|
"no journal file, but that's OK");
|
||||||
return (DNS_R_SUCCESS);
|
return (DNS_R_SUCCESS);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user