3195. [cleanup] Silence "file not found" warnings when loading
managed-keys zone. [RT #26340]
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
3195. [cleanup] Silence "file not found" warnings when loading
|
||||
managed-keys zone. [RT #26340]
|
||||
|
||||
3194. [doc] Updated RFC references in the 'empty-zones-enable'
|
||||
documentation. [RT #25203]
|
||||
|
||||
|
||||
+6
-2
@@ -15,7 +15,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: zone.c,v 1.582.8.33 2011/11/03 02:55:34 each Exp $ */
|
||||
/* $Id: zone.c,v 1.582.8.34 2011/11/03 03:26:50 each Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
@@ -3327,7 +3327,11 @@ zone_postload(dns_zone_t *zone, dns_db_t *db, isc_time_t loadtime,
|
||||
zone->masterfile,
|
||||
dns_result_totext(result));
|
||||
} else {
|
||||
dns_zone_log(zone, ISC_LOG_ERROR,
|
||||
int level = ISC_LOG_ERROR;
|
||||
if (zone->type == dns_zone_key &&
|
||||
result == ISC_R_FILENOTFOUND)
|
||||
level = ISC_LOG_DEBUG(1);
|
||||
dns_zone_log(zone, level,
|
||||
"loading from master file %s failed: %s",
|
||||
zone->masterfile,
|
||||
dns_result_totext(result));
|
||||
|
||||
Reference in New Issue
Block a user