aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/server_epoll.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/server_epoll.lua b/net/server_epoll.lua
index 57da4287..c450f658 100644
--- a/net/server_epoll.lua
+++ b/net/server_epoll.lua
@@ -216,6 +216,8 @@ function interface:setflags(r, w)
op = "add";
end
local ok, err = epoll.ctl(op, fd, flags);
+ log("debug", "epoll_ctl(%q, %d, %q) -> %s" .. (err and ", %q" or ""),
+ op, fd, flags or "", tostring(ok), err);
if not ok then return ok, err end
self._flags = flags;
return true;