-
Notifications
You must be signed in to change notification settings - Fork 5
Command line tool parsing an appended file will break the JSON structure #1
Open
Labels
Description
problem with the ginx cmd tool is that it's closing the JSON brackets at the end of each file, to complete the structure, so if you parse a log file and it completes. Then sometime later you parse the same file again if there is more logs appended to it, the total resulted JSON structure will not be correct, syntax wise. However, if a crash or a kill occurs, and the JSON is not closed yet, the resulted syntax will be fine once you resume the parsing'