diff options
author | Matthias Radestock <matthias@rabbitmq.com> | 2013-01-28 20:48:06 +0000 |
---|---|---|
committer | Matthias Radestock <matthias@rabbitmq.com> | 2013-01-28 20:48:06 +0000 |
commit | 90ddce2d53a84bcddfad4c4ab7242e943ee518d2 (patch) | |
tree | 063c5a572275bdf63c9eaf83e9b595ce6dd89331 | |
parent | 1a186a89b27226857928d09a941e2e3b3338af94 (diff) | |
download | rabbitmq-server-90ddce2d53a84bcddfad4c4ab7242e943ee518d2.tar.gz |
single io:format in order to prevent output interleaving
-rw-r--r-- | src/rabbit.erl | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/rabbit.erl b/src/rabbit.erl index c9cf7ea4..6b730fda 100644 --- a/src/rabbit.erl +++ b/src/rabbit.erl @@ -716,10 +716,13 @@ erts_version_check() -> print_banner() -> {ok, Product} = application:get_key(id), {ok, Version} = application:get_key(vsn), - io:format("~n## ## ~s ~s. ~s~n## ## ~s~n########## ~n", - [Product, Version, ?COPYRIGHT_MESSAGE, ?INFORMATION_MESSAGE]), - io:format("###### ## Logs: ~s~n########## ~s~n", - [log_location(kernel), log_location(sasl)]). + io:format("~n## ## ~s ~s. ~s" + "~n## ## ~s" + "~n##########" + "~n###### ## Logs: ~s" + "~n########## ~s~n", + [Product, Version, ?COPYRIGHT_MESSAGE, ?INFORMATION_MESSAGE, + log_location(kernel), log_location(sasl)]). log_banner() -> {ok, Product} = application:get_key(id), |