summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2013-02-12 09:35:45 +0000
committerMatthias Radestock <matthias@rabbitmq.com>2013-02-12 09:35:45 +0000
commit5d1494b77057c472e10b77957b31c14f926af719 (patch)
tree93d17646b0fe0078e2496f294f507be00f54ace5
parent7183f57012eeb61d6de136548db5ef50abdb1d37 (diff)
downloadrabbitmq-server-5d1494b77057c472e10b77957b31c14f926af719.tar.gz
startup logging tweaks
-rw-r--r--src/rabbit.erl12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/rabbit.erl b/src/rabbit.erl
index a32acbc2..55736b28 100644
--- a/src/rabbit.erl
+++ b/src/rabbit.erl
@@ -435,8 +435,9 @@ start(normal, []) ->
case erts_version_check() of
ok ->
{ok, Vsn} = application:get_key(rabbit, vsn),
- error_logger:info_msg("Starting RabbitMQ ~s on Erlang ~s~n",
- [Vsn, erlang:system_info(otp_release)]),
+ error_logger:info_msg("Starting RabbitMQ ~s on Erlang ~s~n~s~n~s~n",
+ [Vsn, erlang:system_info(otp_release),
+ ?COPYRIGHT_MESSAGE, ?INFORMATION_MESSAGE]),
{ok, SupPid} = rabbit_sup:start_link(),
true = register(rabbit, self()),
print_banner(),
@@ -704,8 +705,7 @@ log_broker_started(Plugins) ->
error_logger:info_msg(
"Server startup complete; ~b plugins started.~n~s~n",
[length(Plugins), PluginList]),
- io:format(" startup complete with ~p plugins.~n",
- [length(Plugins)])
+ io:format(" completed with ~p plugins.~n", [length(Plugins)])
end).
erts_version_check() ->
@@ -725,13 +725,11 @@ print_banner() ->
"~n###### ## Logs: ~s"
"~n########## ~s"
"~n"
- "~n Starting...",
+ "~n Starting broker...",
[Product, Version, ?COPYRIGHT_MESSAGE, ?INFORMATION_MESSAGE,
log_location(kernel), log_location(sasl)]).
log_banner() ->
- error_logger:info_msg("~s ~s~n",
- [?COPYRIGHT_MESSAGE, ?INFORMATION_MESSAGE]),
Settings = [{"node", node()},
{"home dir", home_dir()},
{"config file(s)", config_files()},