diff options
author | Kim Alvefur <zash@zash.se> | 2021-01-05 19:53:40 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-01-05 19:53:40 +0100 |
commit | 9d30a47bd2477a2455baa97940cd6e4b34da0e7e (patch) | |
tree | feccc6bf93d1bf2e73fb14670a0a4bbc0aea872b /net/unbound.lua | |
parent | 0f60f16c8d8ad5158a3d9a0ad5e67b7b482f5021 (diff) | |
download | prosody-9d30a47bd2477a2455baa97940cd6e4b34da0e7e.tar.gz prosody-9d30a47bd2477a2455baa97940cd6e4b34da0e7e.zip |
net.unbound: Log net.server interactions
Noticed the potential need for this thanks to Ge0rG
Diffstat (limited to 'net/unbound.lua')
-rw-r--r-- | net/unbound.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/unbound.lua b/net/unbound.lua index 49f220e1..1d917a91 100644 --- a/net/unbound.lua +++ b/net/unbound.lua @@ -45,7 +45,9 @@ end -- Note: libunbound will default to using root hints if resolvconf is unset local function connect_server(unbound, server) + log("debug", "Setting up net.server event handling for %s", unbound); return server.watchfd(unbound, function () + log("debug", "Processing queries for %s", unbound); unbound:process() end); end |