Changeset

6529:a2dadaa9137f

net.http.server: Log names of the events fired
author Kim Alvefur <zash@zash.se>
date Mon, 08 Dec 2014 15:48:36 +0100
parents 6528:f0687c313cf1
children 6530:35ebcb733c4c
files net/http/server.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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