]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
daemon/engine: warning when log_groups contains a non-existent group
authorOto Šťáva <oto.stava@nic.cz>
Fri, 24 Feb 2023 10:08:59 +0000 (11:08 +0100)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Thu, 2 Mar 2023 11:51:31 +0000 (11:51 +0000)
commita614818b64758666c0a7e6e50ee63f50b8236261
tree00d858874ffc8d2b128f35ac11e099639b77bf81
parent8c94968e248b1a1f4339102027f73b819958134f
daemon/engine: warning when log_groups contains a non-existent group

Until now, kresd would refuse to start when a log_groups Lua call
contained a non-existent group. After this change, only a warning is
printed, which helps during development while switching between branches
with new logging groups. I don't think changing the configuration all
the time just for a logging group is warranted.
daemon/engine.c
daemon/lua/log.test.lua