macros.
ISC_LOG_DEBUGONLY flag for a channel added, to mark a channel that should
only be used if the debugging level is non-zero.
Use ISC_LOG_DEBUGONLY for default_debug.
REQUIRE the context is valid for isc_logconfig_get, and ENSURE that
the configuration returned is non-NULL.
Other miscellaneous cleanups.
return an isc_logconfig_t. isc_log_cretechannel and isc_log_usechannel
now take an isc_logconfig_t instead of an isc_log_t; this is to address
reconfiguration in a multithreaded environment.
isc_logconfig_create, isc_logconfig_get, isc_logconfig_use and
isc_logconfig_destroy were added to work with the new isc_logconfig_t type.
isc_logregister_categories and dns_log_init are now both void rather than
returning isc_result_t.
isc_log_vwrite1(), configurable over X seconds using
isc_log_setduplicateinterval().
isc_log_vwrite renamed to static isc_log_doit(), isc_log_vwrite() created
as wrapper for isc_log_doit().
don't do a second test on ISC_LOG_PRINTLEVEL when logging the message to add
a colon-space, since the colon-space is already in level_string.
print "no_module: " if a module has not been specified (but PRINTMODULE was),
to keep tokenization nice and clean for future log-file parsing programs
without looking quite like a bug, which is what happens with:
Oct 25 15:51:07 dns_general: : notice: This should be in file 1/1
instead of
Oct 25 15:51:07 dns_general: no_module: notice: This should be in file 1/1