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.
Explore our carefully curated directory of recommended free and open source software, covering every major software category.The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more. Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form. |


Please read our Comment Policy before commenting.