aboutsummaryrefslogtreecommitdiffstats
path: root/net/http
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2014-12-08 15:48:36 +0100
committerKim Alvefur <zash@zash.se>2014-12-08 15:48:36 +0100
commit4781a82cd80b53f5691f61319a138574e1cdce98 (patch)
tree84128df68fd1cc5d842f63d9e06bfbbb71298001 /net/http
parent5e9f6df1bab8f4c6ee6d86b353f97707200860b2 (diff)
downloadprosody-4781a82cd80b53f5691f61319a138574e1cdce98.tar.gz
prosody-4781a82cd80b53f5691f61319a138574e1cdce98.zip
net.http.server: Log names of the events fired
Diffstat (limited to 'net/http')
-rw-r--r--net/http/server.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/http/server.lua b/net/http/server.lua
index be870c51..581630d0 100644
--- a/net/http/server.lua
+++ b/net/http/server.lua
@@ -218,7 +218,7 @@ function handle_request(conn, request, finish_cb)
local event = request.method.." "..host..request.path:match("[^?]*");
local payload = { request = request, response = response };
- --log("debug", "Firing event: %s", event);
+ log("debug", event);
local result = events.fire_event(event, payload);
if result ~= nil then
if result ~= true then