On 10 Jan 2014, at 03:08, Andrew Wilkins <[email protected]> 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
-- 
Juju mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju

Reply via email to