summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2014-04-15 22:13:13 +0100
committerMatthias Radestock <matthias@rabbitmq.com>2014-04-15 22:13:13 +0100
commitbeb47817caa0f0a4a72a1588062b7b9c8a05f673 (patch)
tree77c947e7a8c365651edb50a90f770e6d71016c92
parent7e4c23e4a008e78d89645723c8ebd3794298f348 (diff)
downloadrabbitmq-server-git-beb47817caa0f0a4a72a1588062b7b9c8a05f673.tar.gz
cosmetic: prevent trailing whitespace in log message
-rw-r--r--src/rabbit_mirror_queue_misc.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_mirror_queue_misc.erl b/src/rabbit_mirror_queue_misc.erl
index a2f4eec539..ff1d5815a1 100644
--- a/src/rabbit_mirror_queue_misc.erl
+++ b/src/rabbit_mirror_queue_misc.erl
@@ -203,13 +203,13 @@ start_child(Name, MirrorNode, Q, SyncMode) ->
report_deaths(_MirrorPid, _IsMaster, _QueueName, []) ->
ok;
report_deaths(MirrorPid, IsMaster, QueueName, DeadPids) ->
- log_info(QueueName, "~s ~s saw deaths of mirrors ~s~n",
+ log_info(QueueName, "~s ~s saw deaths of mirrors~s~n",
[case IsMaster of
true -> "Master";
false -> "Slave"
end,
rabbit_misc:pid_to_string(MirrorPid),
- [[rabbit_misc:pid_to_string(P), $ ] || P <- DeadPids]]).
+ [[$ , rabbit_misc:pid_to_string(P)] || P <- DeadPids]]).
log_info (QName, Fmt, Args) -> log(info, QName, Fmt, Args).
log_warning(QName, Fmt, Args) -> log(warning, QName, Fmt, Args).