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

Configure default audit logging output configuration

    Details

    • Similar Issues:
    • Epic Link:

      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

          Hide
          charanbir C R added a comment -

          Matt Sicker

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

          Am I missing something?

           

          Show
          charanbir C R added a comment - Matt Sicker I would like to do this. I checked and looks like the core uses log4j, not log4j 2. Am I missing something?  
          Hide
          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

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

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

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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: