aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-11-29 21:30:08 +0100
committerKim Alvefur <zash@zash.se>2019-11-29 21:30:08 +0100
commit83f9904a4873ee7507a86e446bba1b713f7500c4 (patch)
tree1276f6b5905329269fd3f446c1cf7bc0e7997015 /plugins
parent36483b12ca405c2fab734a2989a63841f99312fb (diff)
downloadprosody-83f9904a4873ee7507a86e446bba1b713f7500c4.tar.gz
prosody-83f9904a4873ee7507a86e446bba1b713f7500c4.zip
mod_http: Log served URLs at 'info' level
These are similar to the "activated service" messages from portmanager and similarily useful for the service admin to know even if they're not debugging anything.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_http.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_http.lua b/plugins/mod_http.lua
index 081aa7e9..e6ef89f5 100644
--- a/plugins/mod_http.lua
+++ b/plugins/mod_http.lua
@@ -173,7 +173,7 @@ function module.add_host(module)
end
local services = portmanager.get_active_services();
if services:get("https") or services:get("http") then
- module:log("debug", "Serving '%s' at %s", app_name, module:http_url(app_name, app_path));
+ module:log("info", "Serving '%s' at %s", app_name, module:http_url(app_name, app_path));
else
module:log("warn", "Not listening on any ports, '%s' will be unreachable", app_name);
end