Logalize is a command-line log colorizer designed to make large volumes of plain-text log output easier to scan. It reads lines from standard input and applies color and text styling according to configurable log formats, regular-expression patterns and groups of words.
Unlike tools which rely entirely on hard-coded rules, Logalize is extensively configurable through YAML. You can define complete log formats, create patterns that highlight matching portions of a line and maintain groups of words which receive their own styles. Configuration files can be stored system-wide, in the user’s configuration directory, in the current directory or supplied explicitly on the command line. Multiple configuration files can be merged, making it possible to maintain general settings alongside project-specific rules.
The program also includes built-in formats, patterns, word groups and themes. These can be supplemented, overridden or disabled. Themes control foreground and background colors as well as styles including bold, italic, underline, reverse and several other attributes. Recent releases include Solarized light and dark themes.
Logalize performs some useful processing beyond simple regular-expression matching. Its word handling understands English inflections, so a rule for a word such as “complete” can also match variations such as “completed” and “completing”. Special good and bad word groups can also account for negation.
Input normally comes from a pipe, making Logalize easy to combine with applications that emit logs to standard output or with tools such as cat. Packages are available for several major distribution families as well as standalone binaries.
This is free and open source software.
Key Features
- Colorizes log output read from standard input.
- Supports configurable complete log formats.
- Highlights arbitrary text using regular-expression patterns.
- Supports configurable word groups.
- Recognizes English word inflections.
- Handles negation for good and bad word groups.
- Offers configurable foreground and background colors.
- Supports bold, italic, underline and other text styles.
- Includes multiple built-in themes.
- Allows custom themes to be defined in YAML.
- Merges configuration from multiple locations.
- Built-in formats, patterns and words can be overridden or disabled.
Website: github.com/deponian/logalize
Support:
Developer: Rufus Deponian
License: MIT License

Logalize is written in Go. Learn Go with our recommended free books and free tutorials.
Related Software
| Command-Line Log Filters, Highlighters and Watchers | |
|---|---|
| tailspin | Highlights log output automatically without predefined log formats |
| hl | Filters, searches and highlights structured logs in the terminal |
| humanlog | Formats structured logs into readable, colourised terminal output |
| fblog | Formats and filters JSON logs using configurable fields and Lua expressions |
| Logalize | Customisable log colouriser with regex patterns and themes |
| swatch | Monitors log files and triggers actions when specified patterns match |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.