-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reduce log level on notice about optional extensions #4617
Reduce log level on notice about optional extensions #4617
Conversation
Did we ever resolve the bug which resulted in batch-installs of plugins not considering optional dependencies for install/load order? That would be made more difficult to diagnose with this message gone on regular instances. Which of two plugins implements an extension depending on the plugin is sometimes basically arbitrary, and in a few cases changed over time. In general, this looks like a message appearing generally during startup, which is pretty cluttered anyway, and then only once per extension, so why not accept a little more log spam to address the cases in which the outcome is unexpected? |
No clue.
To be clear, this patch is bringing this one case (arising from an obscure aspect of Guice behavior) in line with others of longer standing (including direct SezPoz loading). As seen in the linked PR, Jenkins already logged some optional extension failures at |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤷♂ Easy enough to revert if necessary.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fine with me
I plan to merge it tomorrow if no negative feedback |
Noticed an inconsistency in jenkinsci/kubernetes-credentials-plugin#20. Extends #2305 to better match ec61660 which uses
FINE
for optional extensions. If an extension is optional and it is not loaded, that is usually because the required plugin is missing, which is not interesting—do not clutter the log with it.Proposed changelog entries
Maintainer checklist
Before the changes are marked as
ready-for-merge
:Proposed changelog entries
are correctupgrade-guide-needed
label is set and there is aProposed upgrade guidelines
section in the PR title. (example)lts-candidate