aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2022-01-15 17:37:07 +0100
committerKim Alvefur <zash@zash.se>2022-01-15 17:37:07 +0100
commita798505a97d6d73297976fecf6d23a810e1fb097 (patch)
tree1ff5d412c4ac55ed432982e05312ad2a497d44c2 /plugins
parent77630b72ff324419b9d0b062c25e62f54661d3d1 (diff)
downloadprosody-a798505a97d6d73297976fecf6d23a810e1fb097.tar.gz
prosody-a798505a97d6d73297976fecf6d23a810e1fb097.zip
mod_http: Increase severity of loading unreachable http modules
This is either caused by an earlier failure to bind http/s ports, in which case that should be corrected, or explicitly disbling the http/s ports, in which case ... why enable http modules? Suggested by jonas’
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 43b328bd..ef951450 100644
--- a/plugins/mod_http.lua
+++ b/plugins/mod_http.lua
@@ -226,7 +226,7 @@ function module.add_host(module)
if services:get("https") or services:get("http") then
module:log("info", "Serving '%s' at %s", app_name, module:http_url(app_name, app_path));
elseif prosody.process_type == "prosody" then
- module:log("warn", "Not listening on any ports, '%s' will be unreachable", app_name);
+ module:log("error", "Not listening on any ports, '%s' will be unreachable", app_name);
end
end