aboutsummaryrefslogtreecommitdiffstats
path: root/net/unbound.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-01-05 19:53:40 +0100
committerKim Alvefur <zash@zash.se>2021-01-05 19:53:40 +0100
commit9d30a47bd2477a2455baa97940cd6e4b34da0e7e (patch)
treefeccc6bf93d1bf2e73fb14670a0a4bbc0aea872b /net/unbound.lua
parent0f60f16c8d8ad5158a3d9a0ad5e67b7b482f5021 (diff)
downloadprosody-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.lua2
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