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 | a698496ef21e88ec0130c98b14e9cae37aefc694 (patch) | |
tree | feccc6bf93d1bf2e73fb14670a0a4bbc0aea872b | |
parent | fb6fb88474f05fce85a5621efd9f2c83261e8fba (diff) | |
download | prosody-a698496ef21e88ec0130c98b14e9cae37aefc694.tar.gz prosody-a698496ef21e88ec0130c98b14e9cae37aefc694.zip |
net.unbound: Log net.server interactions
Noticed the potential need for this thanks to Ge0rG
-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 |