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 | 9d4bdb413b0212d615d0748c61e50e853d9cabde (patch) | |
| tree | 063c5a572275bdf63c9eaf83e9b595ce6dd89331 | |
| parent | ec24650af66d60c46833ba158a1349b1fee4edfa (diff) | |
| download | rabbitmq-server-git-9d4bdb413b0212d615d0748c61e50e853d9cabde.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 c9cf7ea43a..6b730fda4d 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), |
