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

          jvz Matt Sicker created issue -
          jvz Matt Sicker made changes -
          Field Original Value New Value
          Epic Link JENKINS-54082 [ 194705 ]
          gayathriirajendar Gayathri Rajendar made changes -
          Assignee Gayathri Rajendar [ gayathriirajendar ]
          gayathriirajendar Gayathri Rajendar made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          gayathriirajendar Gayathri Rajendar made changes -
          Status In Progress [ 3 ] In Review [ 10005 ]
          jvz Matt Sicker made changes -
          Resolution Fixed [ 1 ]
          Status In Review [ 10005 ] Fixed but Unreleased [ 10203 ]

          People

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

            Dates

              Created:
              Updated:
              Resolved: