-
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
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.