From 81ae5e1ae678320e46342d4bbb71bfb81227a248 Mon Sep 17 00:00:00 2001 From: Andreas Gustafsson Date: Fri, 29 Oct 1999 22:37:47 +0000 Subject: [PATCH] added xfer_in/xfer_out categories and modules --- lib/dns/include/dns/log.h | 6 +++++- lib/dns/log.c | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/lib/dns/include/dns/log.h b/lib/dns/include/dns/log.h index 332720839f..923fc441ce 100644 --- a/lib/dns/include/dns/log.h +++ b/lib/dns/include/dns/log.h @@ -15,7 +15,7 @@ * SOFTWARE. */ -/* $Id: log.h,v 1.6 1999/10/29 22:28:35 explorer Exp $ */ +/* $Id: log.h,v 1.7 1999/10/29 22:37:47 gson Exp $ */ /* Principal Authors: DCL */ @@ -38,6 +38,8 @@ extern isc_logmodule_t dns_modules[]; #define DNS_LOGCATEGORY_CONFIG (&dns_categories[3]) #define DNS_LOGCATEGORY_PARSER (&dns_categories[4]) #define DNS_LOGCATEGORY_RESOLVER (&dns_categories[5]) +#define DNS_LOGCATEGORY_XFER_IN (&dns_categories[6]) +#define DNS_LOGCATEGORY_XFER_OUT (&dns_categories[7]) #define DNS_LOGMODULE_DB (&dns_modules[0]) #define DNS_LOGMODULE_RBTDB (&dns_modules[1]) @@ -52,6 +54,8 @@ extern isc_logmodule_t dns_modules[]; #define DNS_LOGMODULE_ZONE (&dns_modules[10]) #define DNS_LOGMODULE_JOURNAL (&dns_modules[11]) #define DNS_LOGMODULE_ADB (&dns_modules[12]) +#define DNS_LOGMODULE_XFER_IN (&dns_modules[13]) +#define DNS_LOGMODULE_XFER_OUT (&dns_modules[14]) dns_result_t dns_log_init(isc_log_t *lctx); diff --git a/lib/dns/log.c b/lib/dns/log.c index 7b87eb51f3..83d34ce837 100644 --- a/lib/dns/log.c +++ b/lib/dns/log.c @@ -15,7 +15,7 @@ * SOFTWARE. */ -/* $Id: log.c,v 1.6 1999/10/29 22:36:44 explorer Exp $ */ +/* $Id: log.c,v 1.7 1999/10/29 22:37:46 gson Exp $ */ /* Principal Authors: DCL */ @@ -37,6 +37,8 @@ isc_logcategory_t dns_categories[] = { { "dns_config", 0 }, { "dns_parser", 0 }, { "dns_resolver", 0 }, + { "dns_xfer_in", 0 }, + { "dns_xfer_out", 0 }, { NULL, 0 } }; @@ -58,6 +60,8 @@ isc_logmodule_t dns_modules[] = { { "dns/zone", 0 }, { "dns/journal", 0 }, { "dns/adb", 0 }, + { "dns/xfrin", 0 }, + { "dns/xfrout", 0 }, { NULL, 0 } };