Skip to content

Commit 55d6419

Browse files
More log message edits #14403
1 parent 147dfb0 commit 55d6419

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

deps/rabbitmq_stream/src/rabbit_stream_reader.erl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2775,10 +2775,10 @@ complete_secret_update(NewUser = #user{username = Username},
27752775
virtual_host = VH} = C1, S1) ->
27762776
notify_auth_result(Username, user_authentication_success, [], C1, S1),
27772777
rabbit_core_metrics:auth_attempt_succeeded(Host, Username, stream),
2778-
?LOG_DEBUG("Successfully checked updated secret for username '~ts'",
2778+
?LOG_DEBUG("Stream connection has successfully checked updated secret for username '~ts'",
27792779
[Username]),
27802780
try
2781-
?LOG_DEBUG("Checking vhost access after secret update"),
2781+
?LOG_DEBUG("Checking virtual host access after secret update"),
27822782
rabbit_access_control:check_vhost_access(NewUser, VH, {socket, S}, #{}),
27832783
?LOG_DEBUG("Checked vhost access"),
27842784

@@ -2788,7 +2788,7 @@ complete_secret_update(NewUser = #user{username = Username},
27882788
{sasl_authenticate, ?RESPONSE_CODE_OK,
27892789
<<>>}}
27902790
catch exit:#amqp_error{explanation = Explanation} ->
2791-
?LOG_WARNING("Access to vhost failed after secret update: ~ts",
2791+
?LOG_WARNING("Stream client can no longer access virtual host after a secret update: ~ts",
27922792
[Explanation]),
27932793
silent_close_delay(),
27942794
{C1#stream_connection{connection_step = failure},

0 commit comments

Comments
 (0)