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

Update logging levels in LogRotator - hudson.tasks.LogRotator perform

XMLWordPrintable

    • Icon: Patch Patch
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • core
    • None

      I noticed a couple of things when looking at the code for perform() in hudson.tasks.LogRotator, related to the way actions are logged.

      1. Removals are logged at the same level (FINER) as notices about builds not to be removed (FINER),
      2. Artifact removals are not logged at all.

      I was planning to change this:

      1. Log all removals as FINE instead of FINER.
      2. Log artifact removes as FINE.

            wcjk Wade C
            wcjk Wade C
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: