From fdd5f22b8ac4960bed70380c018ed08f6702a71e Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Mon, 28 Mar 2022 11:41:57 +0100 Subject: prosodyctl: check config: Report paths of loaded configuration files (fixed #1729) --- util/prosodyctl/check.lua | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'util') diff --git a/util/prosodyctl/check.lua b/util/prosodyctl/check.lua index e6b815f2..4b09ad8d 100644 --- a/util/prosodyctl/check.lua +++ b/util/prosodyctl/check.lua @@ -332,6 +332,13 @@ local function check(arg) 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", -- cgit v1.2.3