From 4781a82cd80b53f5691f61319a138574e1cdce98 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Mon, 8 Dec 2014 15:48:36 +0100 Subject: net.http.server: Log names of the events fired --- net/http/server.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net/http') 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 -- cgit v1.2.3