Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
akhoury opened this issue Mar 4, 2013 · 0 comments
Labels

Comments

@akhoury
Copy link
Owner

akhoury commented Mar 4, 2013

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant