Unix log colors and log decoration change

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Ondrej,

Sorry for the late response. I tried your patch (pjsua on Linux
running over ssh) and I couldn't see the color. :(

All I see is just gray for all log levels. Is there something that I missed?

Cheers
 Benny

On Sat, Jun 14, 2008 at 9:52 PM, Ondrej Sterbak <sterbo at email.cz> wrote:
> Hi Benny, Nanang and all!
>
> I am working on my thesis which should be SIP traffic analyzer and I
> chose to use PJSIP for it as it has looked like my cup of tea from
> beginning... :) Thank you for working on it!
>
> As I am quite focused on logs in analysis I missed color in linux so I
> implemented some. I also missed the feature to set/unset colors in
> runtime so I implemented that as well. Second update in log decoration
> is additional 2 spaces between core log message and its headers so it
> can be found more easily. All of these are included in attached patch.
>
> You can redefine the colors used in config_site.h. My patch supports
> standard 16 console colors. I couldn't test this on anything else than
> linux with bash and I am not very familiar with other unices so I
> don't know if it will work there. Anyway if you set #define
> PJ_TERM_HAS_COLOR 0 in config_site.h it will be perfectly safe.
>
> Best,
> Ondrej
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux