How To Colorize Your Logs With Ccze

By admin ·
1

Installation

Red Hat/Centos

yum install ccze

Debian/Ubuntu

apt-get install ccze

Mac (using Homebrew)

brew install ccze
2

Usage

tail -f -n 100 /var/log/syslog | ccze
3

A tailc function

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
4

Installation

Red Hat/Centos

yum install ccze

Debian/Ubuntu

apt-get install ccze

Mac (using Homebrew)

brew install ccze
5

Usage

tail -f -n 100 /var/log/syslog | ccze
6

A tailc function

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
7

Installation

Red Hat/Centos

yum install ccze

Debian/Ubuntu

apt-get install ccze

Mac (using Homebrew)

brew install ccze
8

Usage

tail -f -n 100 /var/log/syslog | ccze
9

A tailc function

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
10

Installation

Red Hat/Centos

yum install ccze

Debian/Ubuntu

apt-get install ccze

Mac (using Homebrew)

brew install ccze
11

Usage

tail -f -n 100 /var/log/syslog | ccze
12

A tailc function

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
13

Installation

Red Hat/Centos

yum install ccze

Debian/Ubuntu

apt-get install ccze

Mac (using Homebrew)

brew install ccze
14

Installation

Red Hat/Centos

yum install ccze

Debian/Ubuntu

apt-get install ccze

Mac (using Homebrew)

brew install ccze
15

Installation

16

Usage

tail -f -n 100 /var/log/syslog | ccze
17

Usage

tail -f -n 100 /var/log/syslog | ccze
18

Usage

19

A tailc function

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
20

A tailc function

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
21

A tailc function