[asterisk-users] colorized logfiles in asterisk 1.6.0.6

Johann Steinwendtner steinwendtner at gmx.net
Fri Mar 6 09:39:30 CST 2009


Danny Nicholas wrote:
> The log files themselves are not in color.  It would be a style sheet change
> on the GUI.
> 
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Johann
> Steinwendtner
> Sent: Friday, March 06, 2009 2:59 AM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: [asterisk-users] colorized logfiles in asterisk 1.6.0.6
> 
> 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.
> 
> best regards
> 
> Hans

Sorry, that I wasn't clear enough. The logfiles contains escape codes +
the colour codes.
e.g.:
[Feb 12 13:38:30] VERBOSE[19816] logger.c:   == Registered custom function 'ESC[1;36;40mSQL_ESCESC[0;37;40m'
[Feb 12 13:38:30] VERBOSE[19816] logger.c:  func_odbc.so => (ESC[33;40mODBC lookupsESC[0;37;40m)
[Feb 12 13:38:30] VERBOSE[19816] logger.c:   == Registered application 'ESC[1;36;40mReadFileESC[0;37;40m'

I do not use a GUI.

Thanks.

Hans



More information about the asterisk-users mailing list