summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2013-02-05 10:48:33 +0000
committerSimon MacMullen <simon@rabbitmq.com>2013-02-05 10:48:33 +0000
commit20da9e08a9f5f9ed6c666801f25c100a453f44e9 (patch)
tree5d99e5b7dac5249775dae554120e7c08d45b7f69 /src
parent5a7b5b339a592e23a216f290d08a16b114bdef8d (diff)
downloadrabbitmq-server-git-20da9e08a9f5f9ed6c666801f25c100a453f44e9.tar.gz
Slightly cleaner logging at startup: make the plugin list look nicer.
Diffstat (limited to 'src')
-rw-r--r--src/rabbit.erl5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/rabbit.erl b/src/rabbit.erl
index 98178a6249..73399c03a3 100644
--- a/src/rabbit.erl
+++ b/src/rabbit.erl
@@ -699,8 +699,11 @@ force_event_refresh() ->
log_broker_started(Plugins) ->
rabbit_misc:with_local_io(
fun() ->
+ PluginList = iolist_to_binary([rabbit_misc:format(" * ~s~n", [P])
+ || P <- Plugins]),
error_logger:info_msg(
- "Server startup complete; plugins are: ~p~n", [Plugins]),
+ "Server startup complete; ~b plugins started.~n~s~n",
+ [length(Plugins), PluginList]),
io:format("~n Broker running with ~p plugins.~n",
[length(Plugins)])
end).