From: Evgeny Khramtsov Date: Sun, 20 Oct 2019 15:14:33 +0000 (+0300) Subject: Log path to third-party configuration file X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e388805049f88a5670e01f97e80a99181e8a02c9;p=ejabberd Log path to third-party configuration file This should prevent confusions like the one described at https://stackoverflow.com/q/58353491/2610053 --- diff --git a/src/ejabberd_config.erl b/src/ejabberd_config.erl index aa13dec87..8ef391bb9 100644 --- a/src/ejabberd_config.erl +++ b/src/ejabberd_config.erl @@ -487,6 +487,10 @@ read_file(File, Opts) -> true -> get_modules_configs(); false -> [] end, + lists:foreach( + fun(F) -> + ?INFO_MSG("Loading third-party configuration from ~ts", [F]) + end, Files), read_yaml_files([File|Files], lists:flatten(Opts1)); _ -> read_erlang_file(File, lists:flatten(Opts1))