lnav

Log file viewer.

Visit website ↗

Profile updated

Console’s review

· Reviewed by David Mytton

What we like

Point at a directory and it auto-detects file formats, parses, colorizes, merges, and displays them in your terminal. Can pretty print structured data e.g. JSON. Search as you type also streams in new log lines. Sessions can be restored. Query and filter the logs with SQL, which includes “virtual tables” to allow for comments, tags, and bookmarking.

Tradeoffs

Official downloads don’t include Arm binaries (although the macOS version via Homebrew is compiled for Apple Silicon). Does not inherit the terminal theme - need to configure custom colors separately.

Is lnav a fit?

Based on Console’s review published on 2023-01-05. Summary updated .

Who it’s for

Developers who work with log files should consider this tool

Why consider it

It can automatically detect and parse log file formats

Keep in mind

It does not inherit the terminal theme and requires custom color configuration

Console is a free weekly newsletter with short reviews of developer tools, covering strengths and tradeoffs. This review reflects Console’s assessment at publication on 2023-01-05. Features and limitations may have changed since the review date. Read our selection criteria and learn about Console.

Also consider

Toolong

Compare lnav’s SQL queries with Toolong’s keyboard-driven search and tailing across multiple log files. The Toolong review notes no Windows support.

Discover your next favorite tool

Independent devtool reviews and the latest betas, in your inbox every Thursday. Free.