From b95c1391fa401f1dd1c71bbaf3c6a4f2b433c4d5 Mon Sep 17 00:00:00 2001 From: Michael Graff Date: Tue, 12 Sep 2000 19:27:10 +0000 Subject: [PATCH] log query denied at INFO level, rather than error --- bin/named/query.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/named/query.c b/bin/named/query.c index 160b55840f..27c249503d 100644 --- a/bin/named/query.c +++ b/bin/named/query.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: query.c,v 1.129 2000/09/12 18:45:32 explorer Exp $ */ +/* $Id: query.c,v 1.130 2000/09/12 19:27:10 explorer Exp $ */ #include @@ -558,7 +558,7 @@ query_getzonedb(ns_client_t *client, dns_name_t *name, unsigned int options, isc_boolean_t log = ISC_TF((options & DNS_GETDB_NOLOG) == 0); result = ns_client_checkacl(client, "query", queryacl, ISC_TRUE, - log ? ISC_LOG_ERROR : ISC_LOG_DEBUG(3)); + log ? ISC_LOG_INFO : ISC_LOG_DEBUG(3)); if (queryacl == client->view->queryacl) { if (result == ISC_R_SUCCESS) { @@ -649,7 +649,7 @@ query_getcachedb(ns_client_t *client, dns_db_t **dbp, unsigned int options) result = ns_client_checkacl(client, "query", client->view->queryacl, ISC_TRUE, - log ? ISC_LOG_ERROR : ISC_LOG_DEBUG(3)); + log ? ISC_LOG_INFO : ISC_LOG_DEBUG(3)); if (result == ISC_R_SUCCESS) { /* * We were allowed by the default