diff options
| author | Michael Klishin <michael@clojurewerkz.org> | 2019-09-25 11:50:04 +0300 |
|---|---|---|
| committer | Michael Klishin <michael@clojurewerkz.org> | 2019-09-25 11:50:04 +0300 |
| commit | f4fa53e2ec11ec27b1db519fd2231319670c440e (patch) | |
| tree | 1d520a0832de5126da2078c97bfac028d2776872 /src/rabbit.erl | |
| parent | ea79b7956d02833a79a7b4fe9dccb8ff3f3c9180 (diff) | |
| download | rabbitmq-server-git-f4fa53e2ec11ec27b1db519fd2231319670c440e.tar.gz | |
Rearrange startup banner items
Diffstat (limited to 'src/rabbit.erl')
| -rw-r--r-- | src/rabbit.erl | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/src/rabbit.erl b/src/rabbit.erl index 5b13f8d238..d5dcfe921d 100644 --- a/src/rabbit.erl +++ b/src/rabbit.erl @@ -1184,20 +1184,19 @@ print_banner() -> {"", ["(none)"]} end, %% padded list lines - {LogFmt, LogLocations} = LineListFormatter("~n ~ts", log_locations()), - {CfgFmt, CfgLocations} = LineListFormatter("~n ~ts", config_locations()), - io:format("~n ## ##" - "~n ## ## ~s ~s. ~s" - "~n ########## ~s" - "~n ###### ##" - "~n ########## Logs: ~ts" ++ LogFmt ++ "~n" - "~n Config file(s): ~ts" ++ CfgFmt ++ "~n" - "~n Tutorials: https://rabbitmq.com/getstarted.html" - "~n Doc guides: https://rabbitmq.com/documentation.html" + {LogFmt, LogLocations} = LineListFormatter("~n ~ts", log_locations()), + {CfgFmt, CfgLocations} = LineListFormatter("~n ~ts", config_locations()), + io:format("~n ## ## ~s ~s. ~s" + "~n ## ## ~s" + "~n ##########" + "~n ###### ## Tutorials: https://rabbitmq.com/getstarted.html" + "~n ########## Doc guides: https://rabbitmq.com/documentation.html" "~n Monitoring: https://rabbitmq.com/monitoring.html" "~n Get help: https://rabbitmq.com/contact.html" - "~n~n Starting broker..." - "~n", + "~n" + "~n Logs: ~ts" ++ LogFmt ++ "~n" + "~n Config file(s): ~ts" ++ CfgFmt ++ "~n" + "~n Starting broker...", [Product, Version, ?COPYRIGHT_MESSAGE, ?INFORMATION_MESSAGE] ++ LogLocations ++ CfgLocations). |
