[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Patch: Colored debug
From:       Martin Koller <m.koller () surfeu ! at>
Date:       2007-09-02 17:18:08
Message-ID: 200709021918.08678.m.koller () surfeu ! at
[Download RAW message or body]


On Friday 31 August 2007, Jason 'vanRijn' Kasper wrote:

> Is it necessary to put this into the code directly when there are already
> standalone tools that do this?  I've been using grc to do this for years
> and it does the job quite well and it even has the ability to add custom
> configuration files (conf.kdebug perhaps?).  For example, I use "grc tail
> -F /var/log/{maillog,messages,mail/info,mail,warn,acpid}&" and end up with
> a very nicely-colorized output shown here:
> http://www.flickr.com/photo_zoom.gne?id=1284102997&size=o
>
> Or am I missing something simple?

I also think that postprocessing is a better way as you often might need to 
check a logfile later via an editor to see what happened, and if the logfile 
contains some ESC sequences, I don't think that it is easy to read.

-- 
Best regards/Schöne Grüße

Martin    ()  ascii ribbon campaign - against html mail 
          /\                        - against microsoft attachments

["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic