# HG changeset patch # User Kim Alvefur # Date 1418050116 -3600 # Node ID a2dadaa9137f02956b321a331ad75de44991f730 # Parent f0687c313cf1fed8ab07ffa8cbf372e88d3400b2 net.http.server: Log names of the events fired diff -r f0687c313cf1 -r a2dadaa9137f net/http/server.lua --- a/net/http/server.lua Sun Dec 07 17:56:25 2014 +0100 +++ b/net/http/server.lua Mon Dec 08 15:48:36 2014 +0100 @@ -218,7 +218,7 @@ 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