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:
commit
64e5a6a7e5
|
@ -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).
|
||||
|
||||
|
|
Loading…
Reference in New Issue