added logging modules and categories for update, xfer-in, xfer-out

This commit is contained in:
Andreas Gustafsson
1999-10-23 00:44:40 +00:00
parent deb12179be
commit 8327c62a49
2 changed files with 12 additions and 0 deletions
+6
View File
@@ -28,12 +28,18 @@
#define NS_LOGCATEGORY_GENERAL (&ns_g_categories[0])
#define NS_LOGCATEGORY_CLIENT (&ns_g_categories[1])
#define NS_LOGCATEGORY_NETWORK (&ns_g_categories[2])
#define NS_LOGCATEGORY_UPDATE (&ns_g_categories[3])
#define NS_LOGCATEGORY_XFER_IN (&ns_g_categories[4])
#define NS_LOGCATEGORY_XFER_OUT (&ns_g_categories[5])
#define NS_LOGMODULE_MAIN (&ns_g_modules[0])
#define NS_LOGMODULE_CLIENT (&ns_g_modules[1])
#define NS_LOGMODULE_SERVER (&ns_g_modules[2])
#define NS_LOGMODULE_QUERY (&ns_g_modules[3])
#define NS_LOGMODULE_INTERFACEMGR (&ns_g_modules[4])
#define NS_LOGMODULE_UPDATE (&ns_g_modules[5])
#define NS_LOGMODULE_XFER_IN (&ns_g_modules[6])
#define NS_LOGMODULE_XFER_OUT (&ns_g_modules[7])
isc_result_t
ns_log_init(void);
+6
View File
@@ -34,6 +34,9 @@ static isc_logcategory_t categories[] = {
{ "general", 0 },
{ "client", 0 },
{ "network", 0 },
{ "update", 0 },
{ "xfer-in", 0 },
{ "xfer-out", 0 },
{ NULL, 0 }
};
@@ -47,6 +50,9 @@ static isc_logmodule_t modules[] = {
{ "server", 0 },
{ "query", 0 },
{ "interfacemgr", 0 },
{ "update", 0 },
{ "xfer-in", 0 },
{ "xfer-out", 0 },
{ NULL, 0 }
};