-
-
Notifications
You must be signed in to change notification settings - Fork 374
Description
lnav version
v0.11.1 on MacOS Big Sur (11.4) installed from HomeBrew
Describe the bug
If I have a log with entries that are out-of-order and switch to the SQL view, then log_time in sql view is wrong. It seems that lnav is simply using the latest timestamp that was in order.
I would expect the sql view to keep the original log_time.
To Reproduce
Run lnavn againt the attachment demo.log
This will show that the first 7 lines are in order, but from then on, they are out of order (I have collected some access logs from a some containers and put them into one file to get this result).
When switching to sql view (by pressing v) and doing a SELECT * FROM access_log, it will produce a list, but all the lines that are out of order, have inherited the latest log_time that was in order.

