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

Configure default audit logging output configuration

    XMLWordPrintable

Details

    Description

      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).

      Attachments

        Activity

          charanbir 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?

           

          charanbir 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?  
          jvz 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

          jvz 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
          jvz Matt Sicker added a comment -

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

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

          People

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

            Dates

              Created:
              Updated:
              Resolved: