mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 14:19:59 -04:00
[master] log query errors at info when query logging is on
3830. [func] When query logging is enabled, log query errors at
the same level ('info') as the queries themselves.
[RT #35844]
This commit is contained in:
parent
cd750f6e74
commit
0dc0b029e9
2 changed files with 7 additions and 0 deletions
4
CHANGES
4
CHANGES
|
|
@ -1,3 +1,7 @@
|
|||
3830. [func] When query logging is enabled, log query errors at
|
||||
the same level ('info') as the queries themselves.
|
||||
[RT #35844]
|
||||
|
||||
3829. [func] "dig +ttlunits" causes dig to print TTL values
|
||||
with time-unit suffixes: w, d, h, m, s for
|
||||
weeks, days, hours, minutes, and seconds. (Thanks
|
||||
|
|
|
|||
|
|
@ -257,6 +257,9 @@ query_error(ns_client_t *client, isc_result_t result, int line) {
|
|||
break;
|
||||
}
|
||||
|
||||
if (ns_g_server->log_queries)
|
||||
loglevel = ISC_LOG_INFO;
|
||||
|
||||
log_queryerror(client, result, line, loglevel);
|
||||
|
||||
ns_client_error(client, result);
|
||||
|
|
|
|||
Loading…
Reference in a new issue