Re: Disable log color
Martin Schröder <[email protected]>
| Newsgroups | gmane.comp.micro-kernel.l4.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi,
$ fgrep -r "\033[37m" *
src/l4/pkg/plr/server/src/log:#define WHITE "\033[37m"
so changing WHITE to "" should do the job.
Martin
Am 10.03.2015 um 16:07 schrieb teclis High Elf:
> thanks Matthias,
>
> It still is inserting the control codes for white: \033[37m
>
> This is my cfg file:
>
> L4.default_loader:startv(
> {
> caps = {
> log = L4.Env.log:m("rws"),
> },
> log = {"mydriver"},
> },
> "rom/mydriver");
>
> and it still inserted the control code for white.
>
> I tried:
>
> log = {"mydriver", " "}
>
> and it inserted the control code for no color
>
>
> On Tue, Mar 10, 2015 at 3:36 AM, Matthias Lange <[email protected] <mailto:[email protected]>> wrote:
>
> Hi,
>
> > On 10.03.2015, at 02:12, teclis High Elf <[email protected] <mailto:[email protected]>> wrote:
> >
> > Is there a way to disable the log color so that the logger doesn't insert control codes for color into the output stream.
>
> Just remove the color argument from the log statement of the desired client.
>
> Matthias.
>
> > _______________________________________________
> > l4-hackers mailing list
> > [email protected] <mailto:[email protected]>
> > http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
>
>
>
>
> _______________________________________________
> l4-hackers mailing list
> [email protected]
> http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
>