-
Bug
-
Resolution: Fixed
-
Medium
-
5.10.0, 5.12.7
-
None
-
3
-
Severity 3 - Minor
-
41
-
Issue Summary
Due to some recent (from JSM v5.10.0) changes in the Assets (previously Insight) logging, rolled-over assets log files have additional quotations in their names. For example:
- "insight_automation.log'.'2024-06-10"
- "insight_audit.log'.'2024-04-30"
- "insight_import.log'.'2024-04-30"
Before these changes, the roll-over mechanism used to rename the log files in the pattern insight_[automation|audit|import].log.YYYY-MM-DD
This is reproducible on Data Center: yes
Steps to Reproduce
- Install/Upgrade to JSM 5.4.10 or above
- Let any of the above log files roll over -
- For example, insight_automation.log will roll over the log file everyday
Expected Results
Rolled-over log files are renamed as insight_[automation|audit|import].log.YYYY-MM-DD
Actual Results
Rolled over log files are carrying the double quotes and single quotes in the file names:
-rw-r----- 1 jira jira 998 Jun 11 06:05 insight_automation.log -rwxrwxrwx 1 jira jira 1996 Jun 10 15:44 "insight_automation.log'.'2024-06-10"
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available