coloring juju logs a bit
Horacio Duran
horacio.duran at canonical.com
Fri Mar 6 17:31:12 UTC 2015
So, for those like me, that usually end up hunting for what broke your
tests and find themselves swimming in a sea of log output, I have added a
bit of setup to my supercat to get some useful coloring.
I most likely will be doing this in a more serious and less hacky (and more
juju dev oriented) way bu in the mean time:
create .spcrc/spcrc-juju-tests
with the contents of: http://pastebin.ubuntu.com/10551462/
and to get some coloring (bear in mind that if everything went well you
will get absolutely nothing colored)
go test github.com/juju/juju/... 2>&1 | spc -w -t juju-tests
the output is something like this
http://imgur.com/TErS04p
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju-dev/attachments/20150306/2686020d/attachment.html>
More information about the Juju-dev
mailing list