summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2013-01-25 13:33:46 +0000
committerMatthias Radestock <matthias@rabbitmq.com>2013-01-25 13:33:46 +0000
commit20b8546190e1fefed20d7a49f5efe474ec3b1dd3 (patch)
treebb59f5a40b2e7182fdf3ebb413fa84f751f95c3d
parent9bf99d3941cead54aafa7efd7b6e40f639fc9d7b (diff)
downloadrabbitmq-server-20b8546190e1fefed20d7a49f5efe474ec3b1dd3.tar.gz
better info messages
-rw-r--r--src/rabbit_mnesia.erl9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/rabbit_mnesia.erl b/src/rabbit_mnesia.erl
index 3a119ae2..e758d265 100644
--- a/src/rabbit_mnesia.erl
+++ b/src/rabbit_mnesia.erl
@@ -143,15 +143,16 @@ init_from_config({TryNodes0, NodeType} = Config) ->
%% also wanted to cluster with us. Exactly one of these nodes
%% needs to proceed with an unclustered startup. We pick the node
%% that is alphabetically first.
+ %% that is alphabetically first.
error_logger:info_msg(
- "Started simultaneously with ~p; this node was first~n",
- [TryNodes]),
+ "Virgin node started simultaneously with ~p; "
+ "this node has precedence~n", [TryNodes]),
init_db_and_upgrade([node()], disc, false);
{error, tables_not_present} when NodeType =:= disc ->
%% See above.
error_logger:info_msg(
- "Started simultaneously with ~p; this node was not "
- "first. Waiting for another node to start.~n", [TryNodes]),
+ "Virgin node started simultaneously with ~p; "
+ "waiting for another node to start.~n", [TryNodes]),
timer:sleep(1000),
init_from_config(Config);
{error, _} ->