-
Type:
Bug
-
Resolution: Timed out
-
Priority:
Low
-
Component/s: Settings - Debug Logs
-
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
- Use the log api to fetch and download log files
- Find a log file that has multiple events.
- 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.