[Buildbot-devel] grepping logs?
Dustin J. Mitchell
dustin at v.igoro.us
Thu Mar 21 01:12:30 UTC 2013
On Wed, Mar 20, 2013 at 6:10 PM, Dan Kegel <dank at kegel.com> wrote:
> How does one grep the buildbot logs?
> I mean, I can find the raw log files and kind of grep them,
> but they're in chunks, so sometimes the match fails.
> My workflow involves wildly grepping the universe for
> evidence of common problems, and the Borg in me is
> disturbed that I haven't figured out how to grep buildbot logs
> properly yet.
The borg isn't in you. You are in the borg.
That aside, they're netstrings, with the first character of each
netstring indicating the stream number. You could probably build a
simple netstring parser and pipe its output to grep.
More information about the devel