How to colorize your logs with CCZE

How to colorize your logs with CCZE
Tyler Tyler (281)
Total time: 2 minutes 

If you spend a lot of time staring at log files, you might want to consider installing CCZE. CCZE is a tool that color highlights your log files making them much easier to read.

Posted in these interests:

37 guides

Red Hat/Centos

yum install ccze


apt-get install ccze

Mac (using Homebrew)

brew install ccze
tail -f -n 100 /var/log/syslog | ccze

If you use this frequently, you might consider adding a tailc function to your shell rc file.

tailc () {
    tail $@ | ccze -A

Then use tailc just as you would tail.

tailc -F -n 50 /var/log/somelog.log