Note: Whereas this was mentioned in JENKINS-71170, that issue did not request a change.
The log messages introduced for the resolution of JENKINS-42687 are very noisy. The comments above the logging calls suggest that these are not failures but they are sent at Level.WARNING and cannot be disabled via a Java option like is done with `-Dorg.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval.ADMIN_AUTO_APPROVAL_ENABLED=true`.
I can see two options off the top of my head that would help:
- downgrade to `LogLevel.FINE` (or lower)
- enable the logging to be disabled via a Java property (a la `ADMIN_AUTO_APPROVAL_ENABLED`)? (this might be more useful, if the default behavior is to log these messages - some people might find it useful).
the two log messages are here:
https://github.com/search?q=repo%3Ajenkinsci%2Factive-directory-plugin%20JENKINS-42687&type=code
Originally reported by krodrigu, imported from: Noisy log messages in active-directory-plugin after JENKINS-42687
- assignee:
fbelzunc
- status: Open
- priority: Minor
- component(s): active-directory-plugin
- label(s): ActiveDirectory, logging
- resolution: Unresolved
- votes: 0
- watchers: 3
- imported: 2025-12-07
Raw content of original issue
Note: Whereas this was mentioned in JENKINS-71170, that issue did not request a change.
The log messages introduced for the resolution of JENKINS-42687 are very noisy. The comments above the logging calls suggest that these are not failures but they are sent at Level.WARNING and cannot be disabled via a Java option like is done with `-Dorg.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval.ADMIN_AUTO_APPROVAL_ENABLED=true`.
I can see two options off the top of my head that would help:
- downgrade to `LogLevel.FINE` (or lower)
- enable the logging to be disabled via a Java property (a la `ADMIN_AUTO_APPROVAL_ENABLED`)? (this might be more useful, if the default behavior is to log these messages - some people might find it useful).
the two log messages are here:
https://github.com/search?q=repo%3Ajenkinsci%2Factive-directory-plugin%20JENKINS-42687&type=code
environment
Jenkins 2.462.3 (from docker image lts-jdk21)<br/>
Active Directory plugin Version2.37
Note: Whereas this was mentioned in JENKINS-71170, that issue did not request a change.
The log messages introduced for the resolution of
JENKINS-42687are very noisy. The comments above the logging calls suggest that these are not failures but they are sent at Level.WARNING and cannot be disabled via a Java option like is done with `-Dorg.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval.ADMIN_AUTO_APPROVAL_ENABLED=true`.I can see two options off the top of my head that would help:
the two log messages are here:
https://github.com/search?q=repo%3Ajenkinsci%2Factive-directory-plugin%20JENKINS-42687&type=code
Originally reported by krodrigu, imported from: Noisy log messages in active-directory-plugin after JENKINS-42687
Raw content of original issue
the two log messages are here:
https://github.com/search?q=repo%3Ajenkinsci%2Factive-directory-plugin%20JENKINS-42687&type=code
environment