From 1484f5bb656d129d61f04629b950a6b310358037 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') 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