Describe the bug
When pretty printing a log (Shift + P), it will split the log into new lines if it contains the string (' ',' '). I have no idea why this is.
Example log:
[2024-08-28 13:39:23] test 1
[2024-08-28 13:39:23] test 2
[2024-08-28 13:39:23] the quick brown fox
[2024-08-28 13:39:23] this is a test (' ',' ') and another test
[2024-08-28 13:39:23] testing some more
Log after Shift+P:
[2024-08-28 13:39:23] test 1
[2024-08-28 13:39:23] test 2
[2024-08-28 13:39:23] the quick brown fox
[2024-08-28 13:39:23] this is a test (' ',
' '
) and another test
[2024-08-28 13:39:23] testing some more
I have no idea why lnav is adding newlines here, but it's really annoying because the actual log I am working on has a lot of lines with (' ',' '). If this is a feature, is there any way to to turn it off?
To Reproduce
Create a file called test.log and paste the lines of the 'example log' above
lnav version v0.12.2 (same behavior in 0.10.1)
Describe the bug When pretty printing a log (Shift + P), it will split the log into new lines if it contains the string
(' ',' ')
. I have no idea why this is.Example log:
Log after Shift+P:
I have no idea why lnav is adding newlines here, but it's really annoying because the actual log I am working on has a lot of lines with
(' ',' ')
. If this is a feature, is there any way to to turn it off?To Reproduce
lnav test.log