From a798505a97d6d73297976fecf6d23a810e1fb097 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sat, 15 Jan 2022 17:37:07 +0100 Subject: mod_http: Increase severity of loading unreachable http modules MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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’ --- plugins/mod_http.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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 -- cgit v1.2.3