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 830374cd339ac41668b274a13ea2bb8635fc1a32)
This commit is contained in:
parent
81f780a2e9
commit
a8a8249388
|
@ -365,8 +365,8 @@ is_basic_auth_disabled(#auth_settings{basic_auth_enabled = Enabled}) ->
|
|||
|
||||
get_auth_backends() ->
|
||||
case application:get_env(rabbitmq_web_dispatch, auth_backends) of
|
||||
{ok, Backends} -> {ok, Backends};
|
||||
undefined -> rabbit_log:debug("rabbitmq_web_dispatch.auth_backends not configured,
|
||||
falling back to rabbit.auth_backends"),
|
||||
application:get_env(rabbit, auth_backends)
|
||||
{ok, Backends} ->
|
||||
{ok, Backends};
|
||||
undefined ->
|
||||
application:get_env(rabbit, auth_backends)
|
||||
end.
|
||||
|
|
Loading…
Reference in New Issue