Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-20342

log the cleanup policy details being applied during the repository.cleanup run

    Details

    • Type: Improvement
    • Status: New
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.16.0, 3.17.0
    • Fix Version/s: None
    • Component/s: Cleanup, Logging
    • Notability:
      n/a

      Description

      For each repository being processed by the repository.cleanup task, this is the current log message being logged each time a repository is about to be processed:

      2019-06-20 01:00:00,033-0400 INFO [quartz-3-thread-11] *SYSTEM org.sonatype.nexus.cleanup.internal.service.CleanupServiceImpl - Deleting components in repository <reponame> using policy <policyname>

      Logs are examined retroactively and an administrator may change the cleanup policy settings after the task runs. Looking up the settings of the policy later by name may not be accurate as to what conditions were applied at the time of task run.

      Expected

      The actual cleanup policy settings being applied on that repository should also be logged at INFO level to the repository.cleanup task log just before each repository is processed.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              plynch Peter Lynch
              Last Updated By:
              Joe Tom Joe Tom
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Date of First Response:

                  tigCommentSecurity.panel-title