summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2010-08-03 11:47:51 +0100
committerSimon MacMullen <simon@rabbitmq.com>2010-08-03 11:47:51 +0100
commit93f8dddd925d109afe1dbf501b05896175d52a06 (patch)
tree4377e33c427b24dcf8384624024801d328d4ef7d
parent8a04ef01cfb7586d053ccf66a110b889fa2a5e57 (diff)
downloadrabbitmq-server-bug23035.tar.gz
Print a count + list of plugins that are activated.bug23035
-rw-r--r--src/rabbit_plugin_activator.erl7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/rabbit_plugin_activator.erl b/src/rabbit_plugin_activator.erl
index ef3c5cc2..35b75a23 100644
--- a/src/rabbit_plugin_activator.erl
+++ b/src/rabbit_plugin_activator.erl
@@ -66,9 +66,8 @@ start() ->
unpack_ez_plugins(PluginDir, UnpackedPluginDir),
%% Build a list of required apps based on the fixed set, and any plugins
- RequiredApps = ?BaseApps ++
- find_plugins(PluginDir) ++
- find_plugins(UnpackedPluginDir),
+ PluginApps = find_plugins(PluginDir) ++ find_plugins(UnpackedPluginDir),
+ RequiredApps = ?BaseApps ++ PluginApps,
%% Build the entire set of dependencies - this will load the
%% applications along the way
@@ -132,6 +131,8 @@ start() ->
ok -> ok;
error -> error("failed to compile boot script file ~s", [ScriptFile])
end,
+ io:format("~n~w plugins activated.~n~n", [length(PluginApps)]),
+ [io:format("* ~w~n", [App]) || App <- PluginApps],
halt(),
ok.