• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

examples/H03-May-2022-139115

READMEH A D10-Jan-20041.2 KiB3727

THANKSH A D10-Jan-2004454 98

TIPSH A D10-Jan-2004891 2920

TODOH A D10-Jan-2004570 2118

colorizeH A D03-May-202222.5 KiB959739

colorizercH A D10-Jan-20043.2 KiB7370

copyrightH A D10-Jan-2004766 1612

README

1ABOUT:
2  This is a short (no, it's not short anymore :) perl  script to colorize'
3  your logs. You can use your own colors, you can simply modify your config
4  file in your home directory ($HOME), or system-wide (/etc/colorizerc).
5  Some colors are shit, 'cause I was developing the script on my sisters'
6  mono vga monitor. If you have a good "theme", I please you to send me,
7  and I will put into the tarball.
8
9INSTALL:
10  Put somewhere in your path. Or just set the PATH environment variable.
11
12  You will need a Perl module called Term::ANSIColor by Russ Allbery and
13  Zenin (thanks for it).
14
15  You can download from the CPAN archive:
16    http://www.cpan.org/modules/by-module/Term/
17
18  or (when you use Debian GNU/Linux potato) simply type:
19    apt-get install libansicolor-perl
20
21  or (when you use Debian GNU/Linux woody or newer), it is in the
22  perl-modules package.
23
24USAGE:
25  Just pipe the logs in the script, and	have fun.
26
27EXAMPLES:
28  cat /var/log/daemon.log | colorize
29  tail -0f /var/log/daemon.log /var/log/apache/access.log | colorize
30  colorize < /var/log/messages
31
32TIPS:
33  In TIPS file and in examples directory.
34
35ANOTHER TIP:
36  Use ccze by Gergely Nagy (mhp) http://bonehunter.rulez.org/CCZE.html
37