Skip to content

Commit

Permalink
Better logging
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelklishin committed Jul 5, 2016
1 parent b06de9b commit 8a466f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rabbit_connection_tracking.erl
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,12 @@ on_node_down(Node) ->
false ->
Cs = list_on_node(Node),
rabbit_log:info(
"Node ~p is down, unregistering ~p connections to it~n",
"Node ~p is down, unregistering ~p client connections~n",
[Node, length(Cs)]),
[unregister_connection(Id) || #tracked_connection{id = Id} <- Cs],
ok;
true -> rabbit_log:info(
"Keep ~s connections: the node is already back~n", [Node])
"Keeping ~s connections: the node is already back~n", [Node])
end.


Expand Down

0 comments on commit 8a466f1

Please sign in to comment.