Jenkins and Jenkins-slave charms

Steve Powell spowell at gopivotal.com
Fri Jan 10 12:04:14 UTC 2014


On 10 Jan 2014, at 03:08, Andrew Wilkins <andrew.wilkins at canonical.com> wrote:
> We do intend to improve the situation for debug logging in general, so suggestions for alternatives would be welcome for discussion.

OK, here goes.

How about putting tail in the name? And I suggest:

juju tail-debug-log [--from n | --last n]

with a synonym of --all for --from 1.  Then put explicit termination instructions in the help. Although I haven’t explained from or last, you should explain carefully in the help.

(It’s only a suggestion, off the top of my head.) You could leave the old syntax/name/options in place for compatibility.

BTW, if you are visiting the help/doc, then try to explain the options better. For example:

-n, --lines  (= 10)
    output the last K lines; or use -n +K to output lines starting with the Kth

is really rather poor.  What is K??  Is 10 the default?  Why not say so explicitly?  What is the separator between the option and the value?  Is that what the equals sign is for??

Steve Powell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20140110/23867272/attachment.html>


More information about the Juju mailing list