# HG changeset patch # User Kim Alvefur # Date 1418050151 -3600 # Node ID 35ebcb733c4cd3f8c405dc53b0f6bc8804d07ed5 # Parent a2dadaa9137f02956b321a331ad75de44991f730 mod_http: Log name and base URL of HTTP apps diff -r a2dadaa9137f -r 35ebcb733c4c plugins/mod_http.lua --- a/plugins/mod_http.lua Mon Dec 08 15:48:36 2014 +0100 +++ b/plugins/mod_http.lua Mon Dec 08 15:49:11 2014 +0100 @@ -84,6 +84,7 @@ 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)");