Merge pull request #14373 from rabbitmq/mk-reduce-rabbitmq-plugins-log-rate

Do not log every transient (or Erlang/OTP-provided) dependency when listing plugins
This commit is contained in:
Michael Klishin 2025-08-12 15:00:42 -04:00 committed by GitHub
commit 64e5a6a7e5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 14 deletions

View File

@ -753,20 +753,6 @@ remove_plugins(Plugins) ->
IsAPlugin =
lists:member(Plugin, ActualPlugins) orelse
lists:member(Name, PluginDeps),
if
IsOTPApp ->
?LOG_DEBUG(
"Plugins discovery: "
"ignoring ~ts, Erlang/OTP application",
[Name]);
not IsAPlugin ->
?LOG_DEBUG(
"Plugins discovery: "
"ignoring ~ts, not a RabbitMQ plugin",
[Name]);
true ->
ok
end,
not (IsOTPApp orelse not IsAPlugin)
end, Plugins).