<div dir="ltr">So, I often get failed tests that are so obscured by our log output that I can't even tell what's failing. So I made a little thing to filter out the logs. Yes, I'm sure you could do this with some bash stuff or grep or whatever, but I'll write bash when my job or my life depends on it, and not before. <div>
<br></div><div>just do </div><div><br></div><div>go get <a href="http://github.com/natefinch/nolog">github.com/natefinch/nolog</a></div><div><br></div><div>And then you can run nolog instead of go test. It passes arguments through, so you can do </div>
<div><br></div><div>nolog ./... -gocheck.v</div><div><br></div><div>(or whatever)</div><div>and it'll output everything except the lines that start with [LOG], which makes it a lot easier to see</div><div><br></div><div>
The filtering is really dumb, it just filters out lines that start with [LOG], but it seems to work fine for my needs.</div><div><br></div><div>-Nate</div></div>