bind9/doc/misc
Ondřej Surý b2dda86254 Replace isc_log_create/destroy with isc_logconfig_get()
Add isc_logconfig_get() function to get the current logconfig and use
the getter to replace most of the little dancing around setting up
logging in the tools. Thus:

    isc_log_create(mctx, &lctx, &logconfig);
    isc_log_setcontext(lctx);
    dns_log_setcontext(lctx);
    ...
    ...use lcfg...
    ...
    isc_log_destroy();

is now only:

    logconfig = isc_logconfig_get(lctx);
    ...use lcfg...

For thread-safety, isc_logconfig_get() should be surrounded by RCU read
lock, but since we never use isc_logconfig_get() in threaded context,
the only place where it is actually used (but not really needed) is
named_log_init().
2024-08-20 12:50:39 +00:00
..
cfg_test.c Replace isc_log_create/destroy with isc_logconfig_get() 2024-08-20 12:50:39 +00:00
checkgrammar.py Sort grammar map keys while pretty printing them 2022-07-01 08:59:23 +02:00
dnssec-policy.default.conf Add signatures-jitter option 2024-04-18 09:50:10 +02:00
forward.zoneopt remove {root-}delegation-only 2023-03-23 12:57:01 -07:00
hint.zoneopt remove {root-}delegation-only 2023-03-23 12:57:01 -07:00
in-view.zoneopt [master] automatically generate named.conf grammars for the ARM 2018-01-22 11:06:32 -08:00
Makefile.am Add support for User Statically Defined Tracing (USDT) probes 2023-08-21 18:39:53 +02:00
mirror.zoneopt Add a limit to the number of RR types for single name 2024-06-10 16:55:09 +02:00
options implement 'max-query-restarts' 2024-08-07 13:20:05 -07:00
parsegrammar.py Add a new library to parse grammar format produced by cfg_test 2022-07-01 08:59:04 +02:00
primary.zoneopt Add a limit to the number of RR types for single name 2024-06-10 16:55:09 +02:00
redirect.zoneopt Add a limit to the number of RR types for single name 2024-06-10 16:55:09 +02:00
rndc.grammar remove nonfunctional DSCP implementation 2023-01-09 12:15:21 -08:00
secondary.zoneopt Add a limit to the number of RR types for single name 2024-06-10 16:55:09 +02:00
sort-options.pl Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
static-stub.zoneopt Add a limit to the number of RR types for single name 2024-06-10 16:55:09 +02:00
stub.zoneopt Add a limit to the number of RR types for single name 2024-06-10 16:55:09 +02:00