From 4c283d3c02da89dfe9a1d75407173252638c982d Mon Sep 17 00:00:00 2001 From: Martin Nagy Date: Mon, 27 Apr 2009 12:30:51 +0200 Subject: Logging cleanup. --- src/acl.c | 4 ---- src/log.c | 4 ++-- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/acl.c b/src/acl.c index 64f4060..5daf461 100644 --- a/src/acl.c +++ b/src/acl.c @@ -317,8 +317,6 @@ acl_configure_zone_ssutable(const char *policy_str, dns_zone_t *zone) REQUIRE(zone != NULL); - log_func_enter(); - mctx = dns_zone_getmctx(zone); if (policy_str == NULL) @@ -380,7 +378,5 @@ acl_configure_zone_ssutable(const char *policy_str, dns_zone_t *zone) if (table != NULL) dns_ssutable_detach(&table); - log_func_exit_result(result); - return result; } diff --git a/src/log.c b/src/log.c index 216a602..d5586a1 100644 --- a/src/log.c +++ b/src/log.c @@ -43,10 +43,9 @@ log_debug(int level, const char *format, ...) va_list args; va_start(args, format); - /* isc_log_vwrite(dns_lctx, DNS_LOGCATEGORY_DATABASE, DNS_LOGMODULE_DYNDB, ISC_LOG_DEBUG(level), format, args); - */ +#if 0 /* * For now, behave same as log_error(), so we can see every debugging * logs without the need to specify -d. @@ -54,6 +53,7 @@ log_debug(int level, const char *format, ...) isc_log_vwrite(dns_lctx, DNS_LOGCATEGORY_DATABASE, DNS_LOGMODULE_DYNDB, ISC_LOG_ERROR, format, args); (void)level; +#endif va_end(args); } -- cgit