summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2012-03-22 15:19:48 +0000
committerMatthias Radestock <matthias@rabbitmq.com>2012-03-22 15:19:48 +0000
commitea1845737ef87615f0ad3a25a181bf25968a6bc7 (patch)
tree03db71d8d8018166a4bbe2d55f7dc5b4d8fc4610
parent7387b11c77ca13b9f411113dcd4599073088e30d (diff)
downloadrabbitmq-server-ea1845737ef87615f0ad3a25a181bf25968a6bc7.tar.gz
cosmetic: log queue name with rabbit_misc:rs/1, like everywhere else
-rw-r--r--src/rabbit_amqqueue_process.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_amqqueue_process.erl b/src/rabbit_amqqueue_process.erl
index bdb6a0b6..57a2d6f9 100644
--- a/src/rabbit_amqqueue_process.erl
+++ b/src/rabbit_amqqueue_process.erl
@@ -792,8 +792,8 @@ handle_queue_down(QPid, Reason, State = #q{queue_monitors = QMons,
error ->
noreply(State);
{ok, _} ->
- #resource{name = QName} = qname(State),
- rabbit_log:info("DLQ ~p (for ~p) died~n", [QPid, QName]),
+ rabbit_log:info("DLQ ~p (for ~s) died~n",
+ [QPid, rabbit_misc:rs(qname(State))]),
State1 = State#q{queue_monitors = dict:erase(QPid, QMons)},
case gb_trees:lookup(QPid, UQM) of
none ->