Skip to content

Commit 0607ce6

Browse files
michaelklishinLoisSotoLopez
authored andcommitted
Simplify rabbitmq#13121 by @tomyouyou, log it at debug level
1 parent bb56e47 commit 0607ce6

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
@@ -643,7 +643,7 @@ handle_cast(terminate, State = #ch{cfg = #conf{writer_pid = WriterPid}}) ->
643643
ok = rabbit_writer:flush(WriterPid)
644644
catch
645645
Class:Reason ->
646-
rabbit_log:info("Failed to flushing writer ~tp, Error:~tp", [WriterPid, {Class,Reason}])
646+
rabbit_log:debug("Failed to flush pending writes on a terminating connection, reason: ~tp", [Reason])
647647
end,
648648
{stop, normal, State};
649649

0 commit comments

Comments
 (0)