[Buildbot-devel] logging

Dustin J. Mitchell dustin at zmanda.com
Fri Mar 26 18:29:39 UTC 2010


On Fri, Mar 26, 2010 at 1:15 PM, Al Nikolov <a.nikolov at drweb.com> wrote:
>>> You could make it disappear with 'grep'..
>> Sorry, with 'sed'.
>
> Hmm... i'm pretty sure i haven't got what did you mean.

Maybe I misunderstand.  From what I've read, you're saying that the
presence of some uselses strings in [..] is making it hard for you to
debug buildbot.  My suggestion is to use 'sed' to filter those strings
out so they no longer distract you:

cat twistd.log | sed -e 's/\[[^ ]*\]//' | less

As for the locks -- I know that they work well for the basic "only one
slave should use the database at a time" purposes, but they are
clearly intended to be more general than that.

Dustin

-- 
Open Source Storage Engineer
http://www.zmanda.com




More information about the devel mailing list