Skip to content

Commit dd28838

Browse files
committed
[skip ci] Remove redundant pid metadata in LOG_ macros
1 parent cf252c8 commit dd28838

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

deps/rabbit/src/rabbit_channel_tracking.erl

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,11 @@ handle_cast({channel_created, Details}) ->
6868
error:{no_exists, _} ->
6969
Msg = "Could not register channel ~tp for tracking, "
7070
"its table is not ready yet or the channel terminated prematurely",
71-
?LOG_WARNING(Msg, [TrackedChId], #{domain => ?RMQLOG_DOMAIN_CHAN,
72-
pid => self()}),
71+
?LOG_WARNING(Msg, [TrackedChId], #{domain => ?RMQLOG_DOMAIN_CHAN}),
7372
ok;
7473
error:Err ->
7574
Msg = "Could not register channel ~tp for tracking: ~tp",
76-
?LOG_WARNING(Msg, [TrackedChId, Err], #{domain => ?RMQLOG_DOMAIN_CHAN,
77-
pid => self()}),
75+
?LOG_WARNING(Msg, [TrackedChId, Err], #{domain => ?RMQLOG_DOMAIN_CHAN}),
7876
ok
7977
end;
8078
_OtherNode ->
@@ -96,7 +94,7 @@ handle_cast({connection_closed, ConnDetails}) ->
9694
?LOG_DEBUG(
9795
"Closing ~b channel(s) because connection '~ts' has been closed",
9896
[length(TrackedChs), pget(name, ConnDetails)],
99-
#{domain => ?RMQLOG_DOMAIN_CHAN, pid => self()}),
97+
#{domain => ?RMQLOG_DOMAIN_CHAN}),
10098
%% Shutting down channels will take care of unregistering the
10199
%% corresponding tracking.
102100
shutdown_tracked_items(TrackedChs, undefined),

0 commit comments

Comments
 (0)