mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 13:47:41 +03:00
net.unbound: Log net.server interactions
Noticed the potential need for this thanks to Ge0rG
This commit is contained in:
parent
fb6fb88474
commit
a698496ef2
1 changed files with 2 additions and 0 deletions
|
@ -45,7 +45,9 @@ end
|
||||||
-- Note: libunbound will default to using root hints if resolvconf is unset
|
-- Note: libunbound will default to using root hints if resolvconf is unset
|
||||||
|
|
||||||
local function connect_server(unbound, server)
|
local function connect_server(unbound, server)
|
||||||
|
log("debug", "Setting up net.server event handling for %s", unbound);
|
||||||
return server.watchfd(unbound, function ()
|
return server.watchfd(unbound, function ()
|
||||||
|
log("debug", "Processing queries for %s", unbound);
|
||||||
unbound:process()
|
unbound:process()
|
||||||
end);
|
end);
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue