Uploaded image for project: 'DC/OS'
  1. DC/OS
  2. DCOS_OSS-2387

Implement -v and -vv options for CLI verbosity

    Details

      Description

      As part of the CLI UX review, we are planning to re-arrange the logging with the CLI refactoring.

      Currently there is both a --log-level=LEVEL and --debug flag : 

      • having 2 flags is confusing
      • requiring the user to pass an explicit logging level is overkill

      Here we should instead accept a -v and -vv flag (for verbose and very verbose). The -v flag will set the logging level to INFO while -vv would set it to DEBUG. By default, no logs would be displayed.

        Attachments

          Activity

            People

            • Assignee:
              bilalamarni Bilal Amarni
              Reporter:
              bilalamarni Bilal Amarni
              Team:
              Cluster Ops Team
              Watchers:
              Bilal Amarni
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: