summaryrefslogtreecommitdiff
path: root/src
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
commit7f18e6756b3a180349065ba23ebedf2c484a4f2d (patch)
tree03db71d8d8018166a4bbe2d55f7dc5b4d8fc4610 /src
parent9506c29260675298a13a7bc73567e61c8f1b0b2b (diff)
downloadrabbitmq-server-git-7f18e6756b3a180349065ba23ebedf2c484a4f2d.tar.gz
cosmetic: log queue name with rabbit_misc:rs/1, like everywhere else
Diffstat (limited to 'src')
-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 bdb6a0b6f1..57a2d6f9b8 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 ->