tech-kern archive

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

Re: Colored kernel messages on serial console



cmhanson%eschatologist.net@localhost (Chris Hanson) writes:

>I=E2=80=99m not always one to defend =E2=80=9Cthe UNIX philosophy,=E2=80=9D=
> but in this case root could redirect console output and route it =
>through a filter that applies arbitrary escape codes to it via =
>pattern-matching.

Yes, and maybe even more useful in some contexts. But for simple separation
of kernel vs. userland output it's hard to do as neither have formal syntax
rules that you could match.


>Of course, that won=E2=80=99t catch things logged between boot and the =
>filter=E2=80=99s setup;

Such a tool (and I am sure some already exist) would work on the other
side, e.g. the console server, or for postprocessing console server logs.



Home | Main Index | Thread Index | Old Index