You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
JSON parse failure causes blocking error in lnav conosle. #1708
Describe the bug
lnav v 0.14.0 is struggling to parse json lines in a mixed text log file. This occurs whether the file is sitting in directory or zipped.
The user get thousands of erroneous(?) JSON parse errors stop correlation & display of the remainder of other log files in the directory.
invoke lnav against attached cleansed snippet of logfile '200.log'
note: i acknowledge the input file might have malformed JSON? but it does not appear so. regardless, lnav should not halt correlating the rest of the files in a directory. IMO Worst case should be excluding an input file after some large threshold of errors occurs against that input file; and parsing the rest of the files?
Activity
tstack commentedon Jul 3, 2026
The following line, at least, has a trailing comma, which is not supported by the JSON parser in lnav:
I'm not really against adding support for it, but the errors seem legitimate as of now.