Skip to content

Command line tool parsing an appended file will break the JSON structure #1

Description

@akhoury

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'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions