Skip to content

Commit ded3f55

Browse files
Merge pull request #4194 from rabbitmq/rabbitmq-server-4189
Use lowercase "connection" in two more log entries
2 parents f842fc6 + e6040d2 commit ded3f55

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deps/rabbit/src/rabbit_reader.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1341,7 +1341,7 @@ is_over_user_connection_limit(#user{username = Username}) ->
13411341
case rabbit_auth_backend_internal:is_over_connection_limit(Username) of
13421342
false -> ok;
13431343
{true, Limit} -> rabbit_misc:protocol_error(not_allowed,
1344-
"Connection refused for user '~s': "
1344+
"connection refused for user '~s': "
13451345
"user connection limit (~p) is reached",
13461346
[Username, Limit])
13471347
end.
@@ -1770,7 +1770,7 @@ augment_connection_log_name(#connection{name = Name} = Connection) ->
17701770
Connection;
17711771
UserSpecifiedName ->
17721772
LogName = <<Name/binary, " - ", UserSpecifiedName/binary>>,
1773-
rabbit_log_connection:info("Connection ~p (~s) has a client-provided name: ~s", [self(), Name, UserSpecifiedName]),
1773+
rabbit_log_connection:info("connection ~p (~s) has a client-provided name: ~s", [self(), Name, UserSpecifiedName]),
17741774
?store_proc_name(LogName),
17751775
Connection#connection{log_name = LogName}
17761776
end.

0 commit comments

Comments
 (0)