Disable log color
Martin Schröder
martin.schroeder at openlimit.com
Tue Mar 10 16:41:09 CET 2015
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 <matthias.lange at kernkonzept.com <mailto:matthias.lange at kernkonzept.com>> wrote:
>
> Hi,
>
> > On 10.03.2015, at 02:12, teclis High Elf <teclis.high.elf at gmail.com <mailto:teclis.high.elf at gmail.com>> 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
> > l4-hackers at os.inf.tu-dresden.de <mailto:l4-hackers at os.inf.tu-dresden.de>
> > http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
>
>
>
>
> _______________________________________________
> l4-hackers mailing list
> l4-hackers at os.inf.tu-dresden.de
> http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
>
More information about the l4-hackers
mailing list