[asterisk-users] colorized logfiles in asterisk 1.6.0.6

John Todd jtodd at digium.com
Fri Mar 6 15:32:20 CST 2009



Ugh!  That's a terrible feature, if that's unselectable.  However, I  
don't see that being the case in SVN-TRUNK as of a few days ago (well,  
Feb 17th.)

My logfiles don't have any escape codes/color codes in them.

What version, exactly, are you using?

JT



On Mar 6, 2009, at 7:54 AM, Danny Nicholas wrote:

> 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
>


---
John Todd                       email:jtodd at digium.com
Digium, Inc. | Asterisk Open Source Community Director
445 Jan Davis Drive NW -  Huntsville AL 35806  -   USA
direct: +1-256-428-6083         http://www.digium.com/






More information about the asterisk-users mailing list