Skip to content

Commit b413d77

Browse files
Remove unnecessary log statements
1 parent 4a7de0b commit b413d77

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

deps/rabbitmq_management/src/rabbit_mgmt_wm_auth.erl

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,6 @@ extract_oauth2_and_mgt_resources(OAuth2BackendProps, ManagementProps) ->
8080
MgtResources = maps:map(
8181
fun(K,V) -> merge_oauth_provider_info(maps:get(K, OAuth2Resources, #{}), V, ManagementProps) end,
8282
skip_disabled_mgt_resource_servers(MgtResources1)),
83-
rabbit_log:debug("ManagementProps: ~p", [ManagementProps]),
84-
rabbit_log:debug("extract_oauth2_and_mgt_resources OAuth2Resources: ~p, MgtResources0: ~p MgtResources1: ~p MgtResources: ~p",
85-
[OAuth2Resources, MgtResources0, MgtResources1, MgtResources]),
8683
case maps:size(MgtResources) of
8784
0 -> {};
8885
_ -> {MgtResources}
@@ -117,10 +114,7 @@ authSettings() ->
117114
false -> [{oauth_enabled, false}];
118115
true ->
119116
case extract_oauth2_and_mgt_resources(OAuth2BackendProps, ManagementProps) of
120-
{MgtResources} ->
121-
Settings = produce_auth_settings(MgtResources, ManagementProps),
122-
rabbit_log:debug("authSettings: ~p", [Settings]),
123-
Settings;
117+
{MgtResources} -> produce_auth_settings(MgtResources, ManagementProps),
124118
{} -> [{oauth_enabled, false}]
125119
end
126120
end.

0 commit comments

Comments
 (0)