From 52642e5699f9b0cbd4e93178ea3981d9963f509b Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Mon, 8 Dec 2014 15:49:11 +0100 Subject: mod_http: Log name and base URL of HTTP apps --- plugins/mod_http.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins/mod_http.lua') diff --git a/plugins/mod_http.lua b/plugins/mod_http.lua index 8bda1cac..76ee151b 100644 --- a/plugins/mod_http.lua +++ b/plugins/mod_http.lua @@ -84,6 +84,7 @@ function module.add_host(module) local app_name = event.item.name; local default_app_path = event.item.default_path or "/"..app_name; local app_path = get_base_path(module, app_name, default_app_path); + module:log("debug", "Serving '%s' at %s", app_name, module:http_url(app_name, app_path)); if not app_name then -- TODO: Link to docs module:log("error", "HTTP app has no 'name', add one or use module:provides('http', app)"); -- cgit v1.2.3