diff options
author | Kim Alvefur <zash@zash.se> | 2014-12-08 15:48:36 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2014-12-08 15:48:36 +0100 |
commit | 1484f5bb656d129d61f04629b950a6b310358037 (patch) | |
tree | 84128df68fd1cc5d842f63d9e06bfbbb71298001 /net | |
parent | 90579a109a7297e328b67ccd9d2052c647e8c8f3 (diff) | |
download | prosody-1484f5bb656d129d61f04629b950a6b310358037.tar.gz prosody-1484f5bb656d129d61f04629b950a6b310358037.zip |
net.http.server: Log names of the events fired
Diffstat (limited to 'net')
-rw-r--r-- | net/http/server.lua | 2 |
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 |