prosodyctl: check config: Report paths of loaded configuration files (fixed #1729)
--- a/util/prosodyctl/check.lua Mon Mar 28 11:41:32 2022 +0100
+++ b/util/prosodyctl/check.lua Mon Mar 28 11:41:57 2022 +0100
@@ -332,6 +332,13 @@
end
if not what or what == "config" then
print("Checking config...");
+
+ if what == "config" then
+ local files = configmanager.files();
+ print(" The following configuration files have been loaded:");
+ print(" - "..table.concat(files, "\n - "));
+ end
+
local obsolete = set.new({ --> remove
"archive_cleanup_interval",
"cross_domain_bosh",