diff options
| author | Simon MacMullen <simon@rabbitmq.com> | 2010-08-03 11:47:51 +0100 |
|---|---|---|
| committer | Simon MacMullen <simon@rabbitmq.com> | 2010-08-03 11:47:51 +0100 |
| commit | 2d51577016f3a91dc1312236defc1e6c5b8122ff (patch) | |
| tree | 4377e33c427b24dcf8384624024801d328d4ef7d /src | |
| parent | df0e930c949a6bfdb1fc8d7d699970502c2ab304 (diff) | |
| download | rabbitmq-server-git-2d51577016f3a91dc1312236defc1e6c5b8122ff.tar.gz | |
Print a count + list of plugins that are activated.
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_plugin_activator.erl | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/rabbit_plugin_activator.erl b/src/rabbit_plugin_activator.erl index ef3c5cc250..35b75a23a9 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. |
