[asterisk-users] colorized logfiles in asterisk 1.6.0.6
Danny Nicholas
danny at debsinc.com
Fri Mar 6 09:54:41 CST 2009
This is a "feature". It seems to be the same in 1.4.21, 1.4.22 and 1.6, but
you could just change lines 150-155 in logger.c and recompile.
-----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 9:40 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] colorized logfiles in asterisk 1.6.0.6
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
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list