bind9/bin/tests/system/pipelined
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
..
ans5 Auto-format Python files with black 2022-06-08 10:28:08 +02:00
ns1 Use DEFAULT_HMAC for rndc 2022-07-07 10:11:42 +10:00
ns2 Use trust anchors with 'dnssec-validation yes' in system tests 2024-02-02 19:54:09 +00:00
ns3 Use trust anchors with 'dnssec-validation yes' in system tests 2024-02-02 19:54:09 +00:00
ns4 Use trust anchors with 'dnssec-validation yes' in system tests 2024-02-02 19:54:09 +00:00
.gitignore add gitignore file 2015-04-21 08:37:12 -04:00
clean.sh Remove the lock-file configuration and -X argument to named 2023-10-26 22:42:37 +02:00
input [master] add TCP pipelining support 2015-01-20 16:14:09 -08:00
inputb [master] add TCP pipelining support 2015-01-20 16:14:09 -08:00
pipequeries.c Replace isc_log_create/destroy with isc_logconfig_get() 2024-08-20 12:50:39 +00:00
ref [master] add TCP pipelining support 2015-01-20 16:14:09 -08:00
refb [master] add TCP pipelining support 2015-01-20 16:14:09 -08:00
setup.sh Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
tests.sh Reformat shell scripts with shfmt 2023-10-26 10:23:50 +02:00
tests_sh_pipelined.py Add pytest functions for shell system tests 2023-05-22 14:11:39 +02:00