]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
lib/log: redesign startup and target selection
authorVladimír Čunát <vladimir.cunat@nic.cz>
Mon, 26 Jul 2021 18:58:50 +0000 (20:58 +0200)
committerTomas Krizek <tomas.krizek@nic.cz>
Thu, 29 Jul 2021 09:42:35 +0000 (11:42 +0200)
commiteee257853fe69824a511abf1aeb9c11da29e81b3
treee032922e8af7a8d7461e9be341abaf029b8f66a3
parent22ae1bbe1348230e97b216a11fb3086a58491100
lib/log: redesign startup and target selection

- add lua set_log_target() + docs
- default to 'stderr' (manual runs)
- switch to 'syslog' in distro-preconfig.lua
- a few minor tweaks
daemon/engine.c
daemon/lua/distro-preconfig.lua.in
daemon/main.c
doc/config-logging-monitoring.rst
lib/log.c
lib/log.h
tests/pytests/kresd.py