On Sat, Jun 4, 2011 at 4:41 AM, Tom Gundersen <teg@jklm.no> wrote:
On Sat, Jun 4, 2011 at 9:23 AM, Thomas Bächler <thomas@archlinux.org> wrote:
Am 04.06.2011 05:41, schrieb Eric Bélanger:
OT: I noticed that the /var/log/boot is somewhat hard to read because of the presence of the ansi escape sequences for the colored output. Would it be a good idea (or even possible) to removed these perhaps with a sed line after bootlogd has finished its stuff?
You can 'sed' them out (you need to replace the '^[' with a proper escape character). But there are other problems, some lines are truncated.
A patch implementing a sensible heuristic for what to do with this would be very welcome.
-t
I don't see any truncated lines in /var/log/boot. Either it's system dependent or I don't look at the right place. Anyway I'll look into a patch for the ansi code. Even if we can't make the output format as we would wish, cleaning it up wouldn't hurt.