@@ -421,12 +421,12 @@ log_connection_exception(Severity, Name, Duration, {connection_closed_abruptly,
421
421
log_connection_exception_with_severity (Severity , Fmt ,
422
422
[self (), Name , Duration ]);
423
423
% % failed connection.tune negotiations
424
- log_connection_exception (Severity , Name , Duration , {handshake_error , tuning ,
424
+ log_connection_exception (Severity , Name , _Duration , {handshake_error , tuning ,
425
425
{exit , # amqp_error {explanation = Explanation },
426
426
_Method , _Stacktrace }}) ->
427
427
Fmt = " closing AMQP connection ~tp (~ts ):~n "
428
428
" failed to negotiate connection parameters: ~ts " ,
429
- log_connection_exception_with_severity (Severity , Fmt , [self (), Name , Duration , Explanation ]);
429
+ log_connection_exception_with_severity (Severity , Fmt , [self (), Name , Explanation ]);
430
430
log_connection_exception (Severity , Name , Duration , {sasl_required , ProtocolId }) ->
431
431
Fmt = " closing AMQP 1.0 connection (~ts , duration: '~ts '): RabbitMQ requires SASL "
432
432
" security layer (expected protocol ID 3, but client sent protocol ID ~b )" ,
0 commit comments