Simplify #13121 by @tomyouyou, log it at debug level
(cherry picked from commit 9bd0731a5a
)
This commit is contained in:
parent
5a6da14339
commit
f3fa4cc6ab
|
@ -641,7 +641,7 @@ handle_cast(terminate, State = #ch{cfg = #conf{writer_pid = WriterPid}}) ->
|
|||
ok = rabbit_writer:flush(WriterPid)
|
||||
catch
|
||||
Class:Reason ->
|
||||
rabbit_log:info("Failed to flushing writer ~tp, Error:~tp", [WriterPid, {Class,Reason}])
|
||||
rabbit_log:debug("Failed to flush pending writes on a terminating connection, reason: ~tp", [Reason])
|
||||
end,
|
||||
{stop, normal, State};
|
||||
|
||||
|
|
Loading…
Reference in New Issue