summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2010-08-25 14:55:09 +0100
committerMatthias Radestock <matthias@rabbitmq.com>2010-08-25 14:55:09 +0100
commit839cee567ad9f983d8e1473f2ebc77d2173c4255 (patch)
tree089f3a3be8c80a30d2229b2941277370353779ca
parent9398957b19e81628d057fd7ea2d7a0eb4630ab1f (diff)
downloadrabbitmq-server-bug23131.tar.gz
display app version during plugin activationbug23131
-rw-r--r--src/rabbit_plugin_activator.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rabbit_plugin_activator.erl b/src/rabbit_plugin_activator.erl
index c9f75be0..0f5ed286 100644
--- a/src/rabbit_plugin_activator.erl
+++ b/src/rabbit_plugin_activator.erl
@@ -131,7 +131,9 @@ start() ->
error -> error("failed to compile boot script file ~s", [ScriptFile])
end,
io:format("~n~w plugins activated:~n", [length(PluginApps)]),
- [io:format("* ~w~n", [App]) || App <- PluginApps],
+ [io:format("* ~s-~s~n", [App, Vsn]) ||
+ App <- PluginApps,
+ {App, Vsn} <- [proplists:lookup(App, AppVersions)]],
io:nl(),
halt(),
ok.