• Evergreen - Milestone 1

      Currently, the path where AsyncPeriodWork logs are written is hardcoded to $JENKINS_HOME/logs.

      As per the feedback on JENKINS-49406 on the associated JEP, we'd need to ideally move those logs elsewhere to keep things more cleanly separated.

      So I think we could/should introduce a sysprop to enable putting those in a different location.

          [JENKINS-50291] Customize where AsyncPeriodicWork are logged

          Jesse Glick added a comment -

          Maybe better done via JENKINS-38313.

          Jesse Glick added a comment - Maybe better done via JENKINS-38313 .

          Oleg Nenashev added a comment -

          There is no ETA for that in JENKINS-38313. Currently I am working on the redesign of this proposal in order to reduce the scope. Aperiodic Work logging will be likely excluded from the first iteration. No ETA for that

          Oleg Nenashev added a comment - There is no ETA for that in JENKINS-38313 . Currently I am working on the redesign of this proposal in order to reduce the scope. Aperiodic Work logging will be likely excluded from the first iteration. No ETA for that

          Oleg Nenashev added a comment -

          It has been released in 2.114

          Oleg Nenashev added a comment - It has been released in 2.114

          Code changed in jenkins
          User: Baptiste Mathus
          Path:
          src/main/java/jenkins/metrics/api/Metrics.java
          src/test/java/jenkins/metrics/api/MetricsTest.java
          http://jenkins-ci.org/commit/metrics-plugin/c0dc0077401211952b216e91a6b16741273652b9
          Log:
          JENKINS-50291 Test showing the issue

          Expected to fail on the second assertion

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Baptiste Mathus Path: src/main/java/jenkins/metrics/api/Metrics.java src/test/java/jenkins/metrics/api/MetricsTest.java http://jenkins-ci.org/commit/metrics-plugin/c0dc0077401211952b216e91a6b16741273652b9 Log: JENKINS-50291 Test showing the issue Expected to fail on the second assertion

          Code changed in jenkins
          User: Baptiste Mathus
          Path:
          src/main/java/jenkins/metrics/api/Metrics.java
          http://jenkins-ci.org/commit/metrics-plugin/1c838cc7b78558d79e02f74eec8cfd30b8a7f3c7
          Log:
          JENKINS-50291 Adjust to new logs root location

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Baptiste Mathus Path: src/main/java/jenkins/metrics/api/Metrics.java http://jenkins-ci.org/commit/metrics-plugin/1c838cc7b78558d79e02f74eec8cfd30b8a7f3c7 Log: JENKINS-50291 Adjust to new logs root location

          Code changed in jenkins
          User: Stephen Connolly
          Path:
          pom.xml
          src/main/java/jenkins/metrics/api/Metrics.java
          src/test/java/jenkins/metrics/api/MetricsTest.java
          http://jenkins-ci.org/commit/metrics-plugin/39718de3379b73abb17bf80261999e5bca9b378a
          Log:
          Merge pull request #30 from batmat/JENKINS-50291

          JENKINS-50291 Move health-checker.log under the now configurable logs root directory

          Compare: https://github.com/jenkinsci/metrics-plugin/compare/87988e92d3c0...39718de3379b

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Stephen Connolly Path: pom.xml src/main/java/jenkins/metrics/api/Metrics.java src/test/java/jenkins/metrics/api/MetricsTest.java http://jenkins-ci.org/commit/metrics-plugin/39718de3379b73abb17bf80261999e5bca9b378a Log: Merge pull request #30 from batmat/ JENKINS-50291 JENKINS-50291 Move health-checker.log under the now configurable logs root directory Compare: https://github.com/jenkinsci/metrics-plugin/compare/87988e92d3c0...39718de3379b

          Code changed in jenkins
          User: Baptiste Mathus
          Path:
          core/src/main/java/hudson/triggers/SafeTimerTask.java
          http://jenkins-ci.org/commit/jenkins/d366abc1d7b2a96a4ebd3acf44d5c812a4246d48
          Log:
          Merge pull request #3382 from batmat/JENKINS-50291-followup

          Log the message only once in INFO level

          Compare: https://github.com/jenkinsci/jenkins/compare/70c408cedf42...d366abc1d7b2

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Baptiste Mathus Path: core/src/main/java/hudson/triggers/SafeTimerTask.java http://jenkins-ci.org/commit/jenkins/d366abc1d7b2a96a4ebd3acf44d5c812a4246d48 Log: Merge pull request #3382 from batmat/ JENKINS-50291 -followup Log the message only once in INFO level Compare: https://github.com/jenkinsci/jenkins/compare/70c408cedf42...d366abc1d7b2

            batmat Baptiste Mathus
            batmat Baptiste Mathus
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: