aboutsummaryrefslogtreecommitdiffstats
path: root/net/http/server.lua
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
commit1484f5bb656d129d61f04629b950a6b310358037 (patch)
tree84128df68fd1cc5d842f63d9e06bfbbb71298001 /net/http/server.lua
parent90579a109a7297e328b67ccd9d2052c647e8c8f3 (diff)
downloadprosody-1484f5bb656d129d61f04629b950a6b310358037.tar.gz
prosody-1484f5bb656d129d61f04629b950a6b310358037.zip
net.http.server: Log names of the events fired
Diffstat (limited to 'net/http/server.lua')
-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