Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-24596

Support Bundle collects .GZ logs which are not in the provided time range

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Affects Version/s: 7.0.0, 7.12.5
    • Fix Version/s: 7.15.3
    • Component/s: Support Zone
    • Labels:
      None
    • Severity:
      Low
    • Regression:
      Yes
    • Release Notes:
      Yes

      Description

      When requesting a Support Bundle we are required to provide start & end dates.
      It is expected that logs that are returned are logs that were modified between these date ranges.
      (Which means logs that are not in the range should be filtered out)

      Currently, ".gz" log files are not being filtered out although they are not in the requested range.

      Steps to reproduce:
      1. Start Artifactory 7.12.5.
      2. Fake an old log file, it is important to set an old modification date, e.g.:
      touch -a -m -t 202101101205.09 $ARTIFACTORY_HOME/var/log/archived/artifactory-service.2021-01-10T16-12-57.659.log.gz
      3. Collect a support bundle that shouldn't contain the log file (based on start & end dates)
      4. See the file was collected although not expected.

        Attachments

          Activity

              People

              Assignee:
              arielk Ariel Kabov
              Reporter:
              arielk Ariel Kabov
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: