Incorrect JSON format when multiple events are stored in the log file

XMLWordPrintable

    • 1
    • Severity 3 - Minor

      Issue Summary

      When logs are downloaded using the log api, some files have multiple entries of events. These event are not saved as an array which causes it to not be parsed correctly.

      Steps to Reproduce

      1. Use the log api to fetch and download log files
      2. Find a log file that has multiple events.
      3. Use any JSON parser and it will throw an error after the first event (object)

      Expected Results

      When multiple events are present in a file, have them stored as an array so it can be parsed correctly. for example:

      [

      {Object1}

      ,

      {Object2}

      ]

      Actual Results

      Some log files have multiple event stored as individual object which makes it an invalid JSON format when trying to parse the data.

      Workaround

      Need to edit the file and put the objects into an array to be able to parse the data.

            Assignee:
            Unassigned
            Reporter:
            Sean Suwal
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: