Software /
code /
prosody
Changeset
12192:6a772a0c0dfd
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’
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 15 Jan 2022 17:37:07 +0100 |
parents | 12191:8b57362f1176 |
children | 12193:a6d2b536c41a |
files | plugins/mod_http.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_http.lua Sat Nov 27 12:26:15 2021 +0100 +++ b/plugins/mod_http.lua Sat Jan 15 17:37:07 2022 +0100 @@ -226,7 +226,7 @@ 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