lnav

Log file viewer.

Visit website ↗

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.

Console is a free weekly newsletter with short reviews of developer tools, covering strengths and tradeoffs. This review reflects our assessment at publication. 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.