In order for audit log events to be logged somewhere, we should provide a default configuration. This should provide a log4j2.xml configuration that defines a JSON layout to output those audit log events to $JENKINS_HOME/logs/audit/audit.log (no need to configure rollover or anything just yet).

          [JENKINS-54636] Configure default audit logging output configuration

          C R added a comment -

          jvz

          I would like to do this. I checked and looks like the core uses log4j, not log4j 2.

          Am I missing something?

           

          C R added a comment - jvz I would like to do this. I checked and looks like the core uses log4j, not log4j 2. Am I missing something?  

          Matt Sicker added a comment -

          This is for a plugin, not core. The plugin hasn't been migrated to the jenkinsci GitHub organization yet, so there isn't an "audit-log-plugin" component in Jira yet. The plugin is currently located at https://github.com/jvz/audit-log-plugin

          Matt Sicker added a comment - This is for a plugin, not core. The plugin hasn't been migrated to the jenkinsci GitHub organization yet, so there isn't an "audit-log-plugin" component in Jira yet. The plugin is currently located at https://github.com/jvz/audit-log-plugin

          Matt Sicker added a comment -

          Merged to master. Don't forget to mark tasks as "in review" after submitting the PR!

          Matt Sicker added a comment - Merged to master. Don't forget to mark tasks as "in review" after submitting the PR!

            mide David Olorundare
            jvz Matt Sicker
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: