diff options
author | Matthew Wild <mwild1@gmail.com> | 2015-03-14 22:39:03 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2015-03-14 22:39:03 +0000 |
commit | f25f49c34d9ea22cdcdde8b14104cb13d723c3d4 (patch) | |
tree | 555af1817a1730e903c9511fd9303f2f5eab09ac /net/http/server.lua | |
parent | 0ecfb4e79a16b0c703d995a43a5285aa33489b81 (diff) | |
download | prosody-f25f49c34d9ea22cdcdde8b14104cb13d723c3d4.tar.gz prosody-f25f49c34d9ea22cdcdde8b14104cb13d723c3d4.zip |
net.http.server: Log event name when firing a request event
Diffstat (limited to 'net/http/server.lua')
-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 7937f87c..f091595c 100644 --- a/net/http/server.lua +++ b/net/http/server.lua @@ -217,7 +217,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", "Firing event: %s", event); local result = events.fire_event(event, payload); if result ~= nil then if result ~= true then |