From e388805049f88a5670e01f97e80a99181e8a02c9 Mon Sep 17 00:00:00 2001 From: Evgeny Khramtsov Date: Sun, 20 Oct 2019 18:14:33 +0300 Subject: Log path to third-party configuration file This should prevent confusions like the one described at https://stackoverflow.com/q/58353491/2610053 --- src/ejabberd_config.erl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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)) -- cgit v1.2.3