Skip to content

Commit b77fb53

Browse files
committed
Add exchange name back to the log
1 parent 204fd54 commit b77fb53

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

deps/rabbitmq_exchange_federation/src/rabbit_federation_exchange_link.erl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -630,12 +630,12 @@ check_internal_exchange(IntXNameBin,
630630
arguments = XFUArgs},
631631
rabbit_federation_link_util:disposable_connection_call(
632632
Params, XFU, fun(404, Text) ->
633-
?LOG_WARNING("detected internal upstream exchange changes,"
634-
" restarting link: ~tp", [Text]),
633+
?LOG_WARNING("Federation ~ts detected internal upstream exchange changes,"
634+
" restarting link: ~tp", [rabbit_misc:rs(XName), Text]),
635635
upstream_not_found;
636636
(Code, Text) ->
637-
?LOG_WARNING("internal upstream exchange check failed: ~tp ~tp",
638-
[Code, Text]),
637+
?LOG_WARNING("Federation ~ts internal upstream exchange check failed: ~tp ~tp",
638+
[rabbit_misc:rs(XName), Code, Text]),
639639
error
640640
end).
641641

0 commit comments

Comments
 (0)