Log colorizer perl script
Switch branches/tags
Clone or download
Latest commit 24a3268 Sep 16, 2017
Failed to load latest commit information.
examples nocss patch Feb 21, 2003
Makefile Add simple Makefile Aug 21, 2017
README.md Fixed width file locations Sep 16, 2017
THANKS language fixes and formats Jan 4, 2010
TIPS language fixes and formats Jan 4, 2010
TODO optimizations by Radu Dec 8, 2003
changelog.gz cvs suxx Jan 10, 2004
colorize Update header Sep 16, 2017
colorize.1.gz nocss patch Feb 21, 2003
colorizerc language fixes and formats Jan 4, 2010
copyright Initial revision Jul 30, 2002



This is a perl script to colorize your logs. Useful for system administrators to check daily logs, it will highlight the important parts of every log line.

It uses coherent colors for every log formats which is pretty cool but you can use your own colors by modifying the configuration file in your home directory (~/.colorizerc) or system-wide (/etc/colorizerc).



Install my tap from raszi/homebrew-tap with the following command:

brew tap raszi/tap

Then install the formula with:

brew install raszi/tap/colorize


It is in the ports, you can install with any preferred way.

Mageia (Linux)

It is in the repositories, you can install as root with:

urpmi colorize



This script depends on Term::ANSIColor, so you will need to install it first.

Under Debian GNU/Linux:

apt-get install perl-modules


emerge -vta perl-core/Term-ANSIColor


urpmi perl-Term-ANSIColor

Installing the script

make install


Just pipe the logs in the script, and have fun.


cat /var/log/daemon.log | colorize
tail -0f /var/log/daemon.log /var/log/apache/access.log | colorize
colorize < /var/log/messages


In the TIPS file and in the examples directory.