Default user feedback
Gustavo Niemeyer
gustavo at niemeyer.net
Tue Apr 2 15:00:43 UTC 2013
Hey John,
On Tue, Apr 2, 2013 at 6:15 AM, John Arbash Meinel
<john at arbash-meinel.com> wrote:
> I did try to do both:
> lp:~jameinel/juju-core/sync-tools
> lp:~jameinel/juju-core/sync-tools-logging
Nice, thanks.
> I'm trying not to be too biased, so I'd appreciate it if people try it
> out. Here is a paste of both running:
> http://paste.ubuntu.com/5669878/
Interestingly, what seems most relevant in these two examples is not
the presence of -v or not, but how dirty the second output looks like.
> Part of the 'noise' is because our standards for logging require us to
> put a lot of extra info into the messages (what command is running,
> what module is logging, etc.)
There's just too much noise to be relevant even for logging. There are
lines there with 65 characters of prefix to say that it's "opening the
environment".
I would cut this:
2013/04/02 13:04:22 INFO JUJU:juju:sync-tools cmd/juju: listing
the source bucket
Down to this:
2013/04/02 13:04:22 INFO listing the source bucket
Which is exactly the information you suggested we tell the user about
in the paste, plus the standard fields required for logging. That's
enough for a user, and a developer can easily grep the source to find
this message.
I'd do that sooner rather than later, so we have a better user
experience in 13.04. Doing this shouldn't be more than an afternoon of
work for a single developer.
gustavo @ http://niemeyer.net
More information about the Juju-dev
mailing list