Skip to content

Commit a8a8249

Browse files
Don't log the auth_backends fallback message #13464
Doing so for every HTTP API request is excessive even at debug level. (cherry picked from commit 830374c)
1 parent 81f780a commit a8a8249

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

deps/rabbitmq_web_dispatch/src/rabbit_web_dispatch_access_control.erl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -365,8 +365,8 @@ is_basic_auth_disabled(#auth_settings{basic_auth_enabled = Enabled}) ->
365365

366366
get_auth_backends() ->
367367
case application:get_env(rabbitmq_web_dispatch, auth_backends) of
368-
{ok, Backends} -> {ok, Backends};
369-
undefined -> rabbit_log:debug("rabbitmq_web_dispatch.auth_backends not configured,
370-
falling back to rabbit.auth_backends"),
371-
application:get_env(rabbit, auth_backends)
368+
{ok, Backends} ->
369+
{ok, Backends};
370+
undefined ->
371+
application:get_env(rabbit, auth_backends)
372372
end.

0 commit comments

Comments
 (0)