Software /
code /
prosody
Changeset
6589:015f2b4e2f9a
net.http.server: Log event name when firing a request event
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 14 Mar 2015 22:39:03 +0000 |
parents | 6579:5a82ee60e07e |
children | 6590:7726b627c3ea |
files | net/http/server.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/net/http/server.lua Tue Feb 24 15:19:20 2015 +0000 +++ b/net/http/server.lua Sat Mar 14 22:39:03 2015 +0000 @@ -217,7 +217,7 @@ 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