mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-22 17:28:25 +01:00
Log path to third-party configuration file
This should prevent confusions like the one described at https://stackoverflow.com/q/58353491/2610053
This commit is contained in:
parent
7a85e51237
commit
e388805049
@ -487,6 +487,10 @@ read_file(File, Opts) ->
|
|||||||
true -> get_modules_configs();
|
true -> get_modules_configs();
|
||||||
false -> []
|
false -> []
|
||||||
end,
|
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_yaml_files([File|Files], lists:flatten(Opts1));
|
||||||
_ ->
|
_ ->
|
||||||
read_erlang_file(File, lists:flatten(Opts1))
|
read_erlang_file(File, lists:flatten(Opts1))
|
||||||
|
Loading…
Reference in New Issue
Block a user