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

XMLWordPrintable

      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.

            Assignee:
            Gayathri Rajendar
            Reporter:
            Matt Sicker
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: