So, I started it and was doing something but there is no obvious way to exit. I tried Q,q, Ecc, :q. I tried `man lnav` in separate terminal - but no man page is provided. `ps` shows 3 processes which would not die with SIGTERM, have to `kill -9`. But nice web site :)
Log File Viewer for the Terminal
41–50 of 60 posts
Re: Log File Viewer for the Terminal
#42So, I started it and was doing something but there is no obvious way to exit. I tried Q,q, Ecc, :q. I tried `man lnav` in separate terminal - but no man page is provided. `ps` shows 3 processes which would not die with SIGTERM, have to `kill -9`. But nice web site :)
> but there is no obvious way to exit. I tried Q,q
It's not very responsive during initial indexing, which is something I need to improve. Pressing `q` should work to exit in general, though. Pressing CTRL-C three times in quick succession will force quit it.
It would help to know which version you tried. Things have gotten better over the years.
> I tried `man lnav` in separate terminal - but no man page is provided.
A man page exists, but only contains basic information. The builtin help text is much more extensive and can be viewed by running:
lnav -H
There is also the documentation website: https://docs.lnav.org/> `ps` shows 3 processes which would not die with SIGTERM, have to `kill -9`.
Older versions of lnav would use readline for the prompt and had to run it in a separate process because of "reasons". More recent versions have a custom prompt and don't require the extra processes.
Re: Log File Viewer for the Terminal
#43I'm a little disappointed that it's not written in Rust.
Re: Log File Viewer for the Terminal
#44Re: Log File Viewer for the Terminal
#45Re: Log File Viewer for the Terminal
#46If I have to read the manual, if it isn't blindingly obvious how to use, I'd rather just use journal or tail -f.
Also a nitpick but the colors are quite garish, perhaps 256 colors and muted or monochrome effects if possible. For some reason the colors on the site screenshot are less saturated than the one packaged in my distro, fedora, 0.12.4.
Re: Log File Viewer for the Terminal
#47Re: Log File Viewer for the Terminal
#48Just out of curiosity, is there a log file viewer that ISN'T for the terminal?
Re: Log File Viewer for the Terminal
#49Kinda neat but I had trouble using it. Not sure what it is doing or what it is even showing me. I'd recommend a more CUA-esque interface like turbo vision, the msedit of old, or micro if it had a menu. If I have to read the manual, if it isn't blindingly obvious how to use, I'd rather just use journal or tail -f. Also a nitpick but the colors are quite garish, perhaps 256 colors and muted or monochrome effects if pos…
Can you elaborate a little more? lnav behaves like a pager with the conventional hotkeys for basic stuff. I'm not sure what else you are expecting.
> Also a nitpick but the colors are quite garish
I enjoy colors, so there's a lot going on by default. There are several themes builtin. You can configure the "grayscale" theme by running:
:config /ui/theme grayscaleRe: Log File Viewer for the Terminal
#50This is almost the thing I want and need. What I need is some sort of TUI grafana - Json log splitter/organizer/finder