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

AsyncPeriodicWork log files are overwritten every execution

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Similar Issues:

      Description

      The AsyncPeriodicWork log files get overwritten every execution. This is next to useless when the task itself repeats quite often. Better would be to have the files rotate every day so that you can have some hope of figuring out what is going wrong.

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Stephen Connolly
            Path:
            core/src/main/java/hudson/model/AsyncAperiodicWork.java
            core/src/main/java/hudson/model/AsyncPeriodicWork.java
            http://jenkins-ci.org/commit/jenkins/5f349a61c3f2d1610b75c3469d72e78c5683474c
            Log:
            JENKINS-33068 Address nits

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Stephen Connolly Path: core/src/main/java/hudson/model/AsyncAperiodicWork.java core/src/main/java/hudson/model/AsyncPeriodicWork.java http://jenkins-ci.org/commit/jenkins/5f349a61c3f2d1610b75c3469d72e78c5683474c Log: JENKINS-33068 Address nits
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Stephen Connolly
            Path:
            core/src/main/java/hudson/model/AsyncAperiodicWork.java
            core/src/main/java/hudson/model/AsyncPeriodicWork.java
            core/src/main/java/hudson/util/StreamTaskListener.java
            http://jenkins-ci.org/commit/jenkins/9cf4a80ccf4a4be0acdcca2e0e68aa32f9477ae0
            Log:
            JENKINS-33068 Update @since tags before merge

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Stephen Connolly Path: core/src/main/java/hudson/model/AsyncAperiodicWork.java core/src/main/java/hudson/model/AsyncPeriodicWork.java core/src/main/java/hudson/util/StreamTaskListener.java http://jenkins-ci.org/commit/jenkins/9cf4a80ccf4a4be0acdcca2e0e68aa32f9477ae0 Log: JENKINS-33068 Update @since tags before merge
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Stephen Connolly
            Path:
            core/src/main/java/hudson/model/AsyncAperiodicWork.java
            core/src/main/java/hudson/model/AsyncPeriodicWork.java
            core/src/main/java/hudson/util/StreamTaskListener.java
            http://jenkins-ci.org/commit/jenkins/c6b2d011c400fda77cedcde643e09b979638940b
            Log:
            Merge pull request #2047 from stephenc/jenkins-33068

            JENKINS-33068 AsyncPeriodicWork/AsyncAperiodicWork log files rotation

            Compare: https://github.com/jenkinsci/jenkins/compare/b5db99707d3a...c6b2d011c400

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Stephen Connolly Path: core/src/main/java/hudson/model/AsyncAperiodicWork.java core/src/main/java/hudson/model/AsyncPeriodicWork.java core/src/main/java/hudson/util/StreamTaskListener.java http://jenkins-ci.org/commit/jenkins/c6b2d011c400fda77cedcde643e09b979638940b Log: Merge pull request #2047 from stephenc/jenkins-33068 JENKINS-33068 AsyncPeriodicWork/AsyncAperiodicWork log files rotation Compare: https://github.com/jenkinsci/jenkins/compare/b5db99707d3a...c6b2d011c400
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Stephen Connolly
            Path:
            changelog.html
            http://jenkins-ci.org/commit/jenkins/39642a49c32b3da42aa7d34b2bb81607c6aa98e5
            Log:
            [FIXED JENKINS-33068] Recording merge

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Stephen Connolly Path: changelog.html http://jenkins-ci.org/commit/jenkins/39642a49c32b3da42aa7d34b2bb81607c6aa98e5 Log: [FIXED JENKINS-33068] Recording merge
            Hide
            dogfood dogfood added a comment -

            Integrated in jenkins_main_trunk #4472
            JENKINS-33068 AsyncPeriodicWork/AsyncAperiodicWork log files should be (Revision 8ef4801548bf0ca262666159f4184742a3764b9e)
            JENKINS-33068 While we are at it, let's move the logs to a subdir (Revision b8584f5047be33fe1477d55ea2a53edc4a3d7b2d)
            JENKINS-33068 Address code review comments (Revision 229408328fbfd58dbb28de64e2b53b85ddd7c66c)
            JENKINS-33068 Make it clear that we want to force a rotation every (Revision 2316bfba95f0e2c83a449a97424cbec59f75b9bf)
            JENKINS-33068 There was a bug in the rotation logic (Revision 79271d028714b3c60164e357149170e9e6e78a7b)
            JENKINS-33068 Migrate the old logs on first startup (Revision 1341d565e4527b0eb74609b6825b3a54eb871ccc)
            JENKINS-33068 While I'm here, fix this to getActiveInstance() (Revision 20926f4dd937cebdf4b355b9a4cbc3bb19a0e364)
            JENKINS-33068 Address nits (Revision 5f349a61c3f2d1610b75c3469d72e78c5683474c)
            JENKINS-33068 Update @since tags before merge (Revision 9cf4a80ccf4a4be0acdcca2e0e68aa32f9477ae0)
            [FIXED JENKINS-33068] Recording merge (Revision 39642a49c32b3da42aa7d34b2bb81607c6aa98e5)

            Result = UNSTABLE
            stephen connolly : 8ef4801548bf0ca262666159f4184742a3764b9e
            Files :

            • core/src/main/java/hudson/model/AsyncPeriodicWork.java
            • core/src/main/java/hudson/util/StreamTaskListener.java
            • core/src/main/java/hudson/model/AsyncAperiodicWork.java

            stephen connolly : b8584f5047be33fe1477d55ea2a53edc4a3d7b2d
            Files :

            • core/src/main/java/hudson/model/AsyncPeriodicWork.java
            • core/src/main/java/hudson/model/AsyncAperiodicWork.java

            stephen connolly : 229408328fbfd58dbb28de64e2b53b85ddd7c66c
            Files :

            • core/src/main/java/hudson/model/AsyncPeriodicWork.java
            • core/src/main/java/hudson/model/AsyncAperiodicWork.java
            • core/src/main/java/hudson/util/StreamTaskListener.java

            stephen connolly : 2316bfba95f0e2c83a449a97424cbec59f75b9bf
            Files :

            • core/src/main/java/hudson/model/AsyncAperiodicWork.java
            • core/src/main/java/hudson/model/AsyncPeriodicWork.java

            stephen connolly : 79271d028714b3c60164e357149170e9e6e78a7b
            Files :

            • core/src/main/java/hudson/model/AsyncAperiodicWork.java
            • core/src/main/java/hudson/model/AsyncPeriodicWork.java

            stephen connolly : 1341d565e4527b0eb74609b6825b3a54eb871ccc
            Files :

            • core/src/main/java/hudson/model/AsyncAperiodicWork.java
            • core/src/main/java/hudson/model/AsyncPeriodicWork.java

            stephen connolly : 20926f4dd937cebdf4b355b9a4cbc3bb19a0e364
            Files :

            • core/src/main/java/hudson/model/AsyncAperiodicWork.java

            stephen connolly : 5f349a61c3f2d1610b75c3469d72e78c5683474c
            Files :

            • core/src/main/java/hudson/model/AsyncPeriodicWork.java
            • core/src/main/java/hudson/model/AsyncAperiodicWork.java

            stephen connolly : 9cf4a80ccf4a4be0acdcca2e0e68aa32f9477ae0
            Files :

            • core/src/main/java/hudson/model/AsyncPeriodicWork.java
            • core/src/main/java/hudson/model/AsyncAperiodicWork.java
            • core/src/main/java/hudson/util/StreamTaskListener.java

            stephen connolly : 39642a49c32b3da42aa7d34b2bb81607c6aa98e5
            Files :

            • changelog.html
            Show
            dogfood dogfood added a comment - Integrated in jenkins_main_trunk #4472 JENKINS-33068 AsyncPeriodicWork/AsyncAperiodicWork log files should be (Revision 8ef4801548bf0ca262666159f4184742a3764b9e) JENKINS-33068 While we are at it, let's move the logs to a subdir (Revision b8584f5047be33fe1477d55ea2a53edc4a3d7b2d) JENKINS-33068 Address code review comments (Revision 229408328fbfd58dbb28de64e2b53b85ddd7c66c) JENKINS-33068 Make it clear that we want to force a rotation every (Revision 2316bfba95f0e2c83a449a97424cbec59f75b9bf) JENKINS-33068 There was a bug in the rotation logic (Revision 79271d028714b3c60164e357149170e9e6e78a7b) JENKINS-33068 Migrate the old logs on first startup (Revision 1341d565e4527b0eb74609b6825b3a54eb871ccc) JENKINS-33068 While I'm here, fix this to getActiveInstance() (Revision 20926f4dd937cebdf4b355b9a4cbc3bb19a0e364) JENKINS-33068 Address nits (Revision 5f349a61c3f2d1610b75c3469d72e78c5683474c) JENKINS-33068 Update @since tags before merge (Revision 9cf4a80ccf4a4be0acdcca2e0e68aa32f9477ae0) [FIXED JENKINS-33068] Recording merge (Revision 39642a49c32b3da42aa7d34b2bb81607c6aa98e5) Result = UNSTABLE stephen connolly : 8ef4801548bf0ca262666159f4184742a3764b9e Files : core/src/main/java/hudson/model/AsyncPeriodicWork.java core/src/main/java/hudson/util/StreamTaskListener.java core/src/main/java/hudson/model/AsyncAperiodicWork.java stephen connolly : b8584f5047be33fe1477d55ea2a53edc4a3d7b2d Files : core/src/main/java/hudson/model/AsyncPeriodicWork.java core/src/main/java/hudson/model/AsyncAperiodicWork.java stephen connolly : 229408328fbfd58dbb28de64e2b53b85ddd7c66c Files : core/src/main/java/hudson/model/AsyncPeriodicWork.java core/src/main/java/hudson/model/AsyncAperiodicWork.java core/src/main/java/hudson/util/StreamTaskListener.java stephen connolly : 2316bfba95f0e2c83a449a97424cbec59f75b9bf Files : core/src/main/java/hudson/model/AsyncAperiodicWork.java core/src/main/java/hudson/model/AsyncPeriodicWork.java stephen connolly : 79271d028714b3c60164e357149170e9e6e78a7b Files : core/src/main/java/hudson/model/AsyncAperiodicWork.java core/src/main/java/hudson/model/AsyncPeriodicWork.java stephen connolly : 1341d565e4527b0eb74609b6825b3a54eb871ccc Files : core/src/main/java/hudson/model/AsyncAperiodicWork.java core/src/main/java/hudson/model/AsyncPeriodicWork.java stephen connolly : 20926f4dd937cebdf4b355b9a4cbc3bb19a0e364 Files : core/src/main/java/hudson/model/AsyncAperiodicWork.java stephen connolly : 5f349a61c3f2d1610b75c3469d72e78c5683474c Files : core/src/main/java/hudson/model/AsyncPeriodicWork.java core/src/main/java/hudson/model/AsyncAperiodicWork.java stephen connolly : 9cf4a80ccf4a4be0acdcca2e0e68aa32f9477ae0 Files : core/src/main/java/hudson/model/AsyncPeriodicWork.java core/src/main/java/hudson/model/AsyncAperiodicWork.java core/src/main/java/hudson/util/StreamTaskListener.java stephen connolly : 39642a49c32b3da42aa7d34b2bb81607c6aa98e5 Files : changelog.html

              People

              • Assignee:
                stephenconnolly Stephen Connolly
                Reporter:
                stephenconnolly Stephen Connolly
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: