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

BackgroundGlobalBuildDiscarder logs are bloated on instances with many jobs

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • None

      On controllers with large numbers of builds, the 'Periodic background build discarder.log' files generated by https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/jenkins/model/BackgroundGlobalBuildDiscarder.java can grow to hundreds of MB in size. That coupled with the fact that we keep six of these can lead to over a GB of logs being included in support bundles. I'm not sure how much value there is in this log data; maybe it should be quieter or off by default, and only enabled for debugging purposes?

            Unassigned Unassigned
            owenmehegan Owen Mehegan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: