Open tomasaschan opened 6 years ago
You can see the context by checking the show inline checkbox
@RolandPheasant I know, and that's nifty :) But it doesn't really solve my problem, though, since it only shows one item at a time.
My use case here was trying to figure out if all the exceptions I saw in the log had the same trace events leading up to them, and for that I'd want to be able to list all lines matching exception
, and one or two lines before them. (Then, I'd probably go on to see if that event sequence always caused an exception, in which case I'd search for foo-event-X
and include one line after each match, to see if that line is a thrown exception.)
When searching in logs, it is often valuable to show not only the line that matches the query, but also a few lines before and/or after it (much like
grep
can do).Is this already possible? If so, how? If not, consider this a feature request :)