Unix log colors and log decoration change

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

 



On Tue, Jul 1, 2008 at 10:15 PM, Ondrej Sterbak <sterbo at email.cz> wrote:
> Hi Benny,
>
> I think I missed one thing. PJSUA has its own log configuration so it
> needs to be configured there as well. And I think that pjsua_perror
> should log at level 1 if I understand it correctly. So with these
> changes you should see the colors if they work in console.
>
> Here is the patch for those:
[snip]

Ah yeah it works. :)
Sorry I didn't check that.

> P.S.: I am thinking about one last change; to change macros CLR_* to
> unsigned variables to be able to change color of logs during runtime
> (for example for dark and light background)
>

Yup I totally agree with that. Now it looks a bit tiring to look (some
log levels are not too readable, and one completely hidden) because I
have white background.

Cheers
 Benny



[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