lib/resolve: add support for per-request logging
This is useful in many troubleshooting scenarios when you want debug logs just for a single request. It's going to expand on TRACE flag functionality in the next PRs, so that special requests can be invoked with various tracers attached. Currently this is only available in the C modules that can set the callback, it's not called anywhere in the library yet.
parent
92f80d79
Branches
Tags
Showing
- daemon/lua/kres-gen.lua 2 additions, 0 deletionsdaemon/lua/kres-gen.lua
- daemon/lua/kres-gen.sh 1 addition, 0 deletionsdaemon/lua/kres-gen.sh
- lib/resolve.c 1 addition, 0 deletionslib/resolve.c
- lib/resolve.h 1 addition, 0 deletionslib/resolve.h
- lib/utils.c 23 additions, 0 deletionslib/utils.c
- lib/utils.h 18 additions, 0 deletionslib/utils.h
Please register or sign in to comment