aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_http.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2014-12-16 18:33:54 -0500
committerWaqas Hussain <waqas20@gmail.com>2014-12-16 18:33:54 -0500
commitf32bdb004946ee50088eb8bb0a69f244cb2a835b (patch)
treedcafd2057d83c1a967fe5381adba1478d7e22001 /plugins/mod_http.lua
parentb690efb23ea66e96d671fc263aea71413188394f (diff)
parent72b502bed309c90247cf578caf86791ad251b949 (diff)
downloadprosody-f32bdb004946ee50088eb8bb0a69f244cb2a835b.tar.gz
prosody-f32bdb004946ee50088eb8bb0a69f244cb2a835b.zip
Merge 0.10 -> trunk
Diffstat (limited to 'plugins/mod_http.lua')
-rw-r--r--plugins/mod_http.lua1
1 files changed, 1 insertions, 0 deletions
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)");