tstack / lnav

Log file navigator
http://lnav.org
BSD 2-Clause "Simplified" License
7.89k stars 314 forks source link

line comments #446

Open tstack opened 7 years ago

tstack commented 7 years ago

Add a ':comment' command that saves a comment for the top line. The comment can be displayed in an overlay with the line is in view. For example:

May  5 10:08:08 Tim-Stacks-iMac com.apple.usbmuxd[17096]: notice    device connected: 12-192.168.1.5:0
May  5 10:08:09 Tim-Stacks-iMac com.apple.usbmuxd[17096]: error     MuxTCPSendNextSegmentOverNetwork Unexpected EOF, client 599-MobileDevice:0 -> 12-192.168.1.5:0:0 
  +- This is where it all went wrong...
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/44888942-line-comments?utm_campaign=plugin&utm_content=tracker%2F449456&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F449456&utm_medium=issues&utm_source=github).
aspiers commented 7 years ago

:+1: That would be extremely useful, especially if you can later filter to only display comments, or comments plus other selected logs.