Since JSM v5.10.0, Assets rolled over log file names have quotes (", ') in them e.g., "insight_automation.log'.'2024-06-10", "insight_audit.log'.'2024-04-30", "insight_import.log'.'2024-04-30"

XMLWordPrintable

    • 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

      1. Install/Upgrade to JSM 5.4.10 or above
      2. 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

            Assignee:
            Bartosz Ornatowski
            Reporter:
            Suddha
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: