Changeset

11248:a1aecd8cf7ee

net.unbound: Log net.server interactions Noticed the potential need for this thanks to Ge0rG
author Kim Alvefur <zash@zash.se>
date Tue, 05 Jan 2021 19:53:40 +0100
parents 11247:4e803e80d7b1
children 11249:137c44d2714a
files net/unbound.lua
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/net/unbound.lua	Tue Jan 05 17:08:24 2021 +0100
+++ b/net/unbound.lua	Tue Jan 05 19:53:40 2021 +0100
@@ -45,7 +45,9 @@
 -- 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