Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-74774

Noisy log messages in active-directory-plugin after JENKINS-42687

XMLWordPrintable

      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

            fbelzunc Félix Belzunce Arcos
            krodrigu Ken Rodriguez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: