From a698496ef21e88ec0130c98b14e9cae37aefc694 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Tue, 5 Jan 2021 19:53:40 +0100 Subject: net.unbound: Log net.server interactions Noticed the potential need for this thanks to Ge0rG --- net/unbound.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'net/unbound.lua') 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 -- cgit v1.2.3