It was argued that upgrading the 'key not found' from DEBUG to ERROR was too verbose

This commit is contained in:
Job Snijders
2023-01-20 15:49:59 +00:00
parent 89ab54454e
commit 6fdae48462

View File

@@ -840,7 +840,7 @@ have3:
if (b->validate_asns) if (b->validate_asns)
bgpq_expander_invalidate_asn(b, req->request); bgpq_expander_invalidate_asn(b, req->request);
} else if (response[0] == 'D') { } else if (response[0] == 'D') {
sx_report(SX_ERROR, "Key not found expanding %s", SX_DEBUG(debug_expander, "Key not found expanding %s",
req->request); req->request);
if (b->validate_asns) if (b->validate_asns)
bgpq_expander_invalidate_asn(b, req->request); bgpq_expander_invalidate_asn(b, req->request);
@@ -1006,7 +1006,7 @@ have3:
if (b->validate_asns) if (b->validate_asns)
bgpq_expander_invalidate_asn(b, request); bgpq_expander_invalidate_asn(b, request);
} else if (response[0] == 'D') { } else if (response[0] == 'D') {
sx_report(SX_ERROR, "Key not found expanding %s", SX_DEBUG(debug_expander, "Key not found expanding %s",
req->request); req->request);
if (b->validate_asns) if (b->validate_asns)
bgpq_expander_invalidate_asn(b, request); bgpq_expander_invalidate_asn(b, request);