How to colorize your logs with CCZE
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:
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.
Red Hat/Centos
yum install ccze
Debian/Ubuntu
apt-get install ccze
Mac (using Homebrew)
brew install 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
So you've got a machine running Ubuntu. If it's been a while since you set up Ubuntu (or maybe you're just curious), you probably need to check what version you're running.