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

Default audit log destination does not work with mvn hpi:run

    XMLWordPrintable

Details

    Description

      When I run the plugin using mvn hpi:run, the audit log output goes to logs/audit.log instead of the expected location work/logs/audit.log. This bug is caused by log4j2.xml only checking for the environment variable named JENKINS_HOME when it should fall back to trying the system property named JENKINS_HOME as well before defaulting to the current directory.

      Attachments

        Activity

          There are no comments yet on this issue.

          People

            gayathriirajendar Gayathri Rajendar
            jvz Matt Sicker
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: