Skip to content

Commit f3fa4cc

Browse files
michaelklishinmergify[bot]
authored andcommitted
Simplify #13121 by @tomyouyou, log it at debug level
(cherry picked from commit 9bd0731)
1 parent 5a6da14 commit f3fa4cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/rabbit/src/rabbit_channel.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ handle_cast(terminate, State = #ch{cfg = #conf{writer_pid = WriterPid}}) ->
641641
ok = rabbit_writer:flush(WriterPid)
642642
catch
643643
Class:Reason ->
644-
rabbit_log:info("Failed to flushing writer ~tp, Error:~tp", [WriterPid, {Class,Reason}])
644+
rabbit_log:debug("Failed to flush pending writes on a terminating connection, reason: ~tp", [Reason])
645645
end,
646646
{stop, normal, State};
647647

0 commit comments

Comments
 (0)