You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2025/03/20 14:38:00 UTC

[jira] [Assigned] (HDDS-4160) Make verbose mode more user-friendly

     [ https://issues.apache.org/jira/browse/HDDS-4160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Attila Doroszlai reassigned HDDS-4160:
--------------------------------------

    Assignee: Ethan Rose

> Make verbose mode more user-friendly
> ------------------------------------
>
>                 Key: HDDS-4160
>                 URL: https://issues.apache.org/jira/browse/HDDS-4160
>             Project: Apache Ozone
>          Issue Type: Improvement
>          Components: Ozone CLI
>            Reporter: Attila Doroszlai
>            Assignee: Ethan Rose
>            Priority: Major
>
> {{GenericCli}}-based commands have a {{\-\-verbose}} flag, which has two effects:
> # some subcommands print additional details
> # stack trace is shown in case of exception
> I think (1) is more generally useful, while (2) is geared towards developers.  To avoid making {{--verbose}} commands overwhelming for users in case of errors, I propose to split these two effects.
> Possible solutions:
> # multi-level {{--verbose}} mode (allow specifying {{-v}} more than once to get more details)
> # introduce a new flag to enable the stack trace
> # only print the stack trace if exception message is not meaningful (eg. empty or {{"null"}})



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org