Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
examples/ | H | 03-May-2022 | - | 139 | 115 | |
README | H A D | 10-Jan-2004 | 1.2 KiB | 37 | 27 | |
THANKS | H A D | 10-Jan-2004 | 454 | 9 | 8 | |
TIPS | H A D | 10-Jan-2004 | 891 | 29 | 20 | |
TODO | H A D | 10-Jan-2004 | 570 | 21 | 18 | |
colorize | H A D | 03-May-2022 | 22.5 KiB | 959 | 739 | |
colorizerc | H A D | 10-Jan-2004 | 3.2 KiB | 73 | 70 | |
copyright | H A D | 10-Jan-2004 | 766 | 16 | 12 |
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