Skip to content
This repository was archived by the owner on Nov 17, 2020. It is now read-only.

Commit 477f0e5

Browse files
Correctly invoke rabbit_log:log/4 here
1 parent 138374f commit 477f0e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rabbit_reader.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ log_connection_exception(Severity, Name, {heartbeat_timeout, TimeoutSec}) ->
409409
log_connection_exception(Severity, Name, {connection_closed_abruptly,
410410
#v1{connection = #connection{user = #user{username = Username},
411411
vhost = VHost}}}) ->
412-
rabbit_log:log(Severity, "closing AMQP connection ~p (~s, vhost: '~s', user: '~s'):~nclient unexpectedly closed TCP connection~n",
412+
rabbit_log:log(rabbit_log_connection, Severity, "closing AMQP connection ~p (~s, vhost: '~s', user: '~s'):~nclient unexpectedly closed TCP connection~n",
413413
[self(), Name, VHost, Username]);
414414
%% when client abruptly closes connection before connection.open/authentication/authorization
415415
%% succeeded, don't log username and vhost as 'none'

0 commit comments

Comments
 (0)