CCZE is a fast log colorizer written in C intended to be a replacement for other terminal colorizer like colorize (made in perl) and grc/grcat (made in python). CCZE is way more faster then it predecessor, and come with twenty preset profile for thing like exim, fetchmail, apache, postfix, php and syslog log file. CCZE can also colorize you terminal input, if you add the -A
parameter.
Usage
ccze /var/log/foobar.log
As usual you can add a pipe for more
(or less 😉 ) usage:
ccze /var/log/foobar.log | more
For less
don’t forget to add the -R
option for ANSI colors interpretation:
tail -n 50 /var/log/foobar.log | ccze -A | less -R