]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
rework logging from control sockets (+simplify)
authorVladimír Čunát <vladimir.cunat@nic.cz>
Mon, 12 Jul 2021 18:02:12 +0000 (20:02 +0200)
committerTomas Krizek <tomas.krizek@nic.cz>
Thu, 29 Jul 2021 09:42:34 +0000 (11:42 +0200)
commit072348acf807e5a2eefa3281aa0774fd63ef1abd
treedac97550884fb370544cb73006f931cf56c957df
parent5d7e9f15847efc97e7e52b1016e955a84f387f9c
rework logging from control sockets (+simplify)

- unify interactive mode to stdout
- use its own logging group
- elevated log level when the command throws an exception
- don't try detecting that the logs go back into the same console
  (yes, in that case you can see some lines twice)
- don't make the binary mode turn off logging
daemon/io.c
daemon/lua/kres-gen-29.lua
daemon/main.c
daemon/scripting.rst
lib/log.c
lib/log.h