[asterisk-users] colorized logfiles in asterisk 1.6.0.6

Tzafrir Cohen tzafrir.cohen at xorcom.com
Fri Mar 6 13:46:37 CST 2009


On Fri, Mar 06, 2009 at 09:59:18AM +0100, Johann Steinwendtner wrote:
> Hello !
> 
> I've upgraded our testsystem from asterisk 1.4.21 to asterisk 1.6.0.6.
> We 've noticed that the log files are now in colour.
> I could not find a note in the upgrade section about this.
> Is this a feature or a bug ?
> It might be usefull to have them not in colour.

There are quite a few programs to color your logs:

$ apt-cache search log | grep -i color
ccze - A robust, modular log coloriser
linuxlogo - Color ANSI System Logo
loco - Perl script to add nice colors to your /var/log/messages file
lwatch - A simple log colorizer


Just 3 hits with a simple search. Generally such a program is trivial to
write in sed, perl or whatever.

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-users mailing list