8000 Add option to enable Verbose logging for MAS CLI · Issue #1566 · ibm-mas/cli · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add option to enable Verbose logging for MAS CLI #1566

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
BrendanFishback opened this issue Apr 28, 2025 · 0 comments
860B
Open

Add option to enable Verbose logging for MAS CLI #1566

BrendanFishback opened this issue Apr 28, 2025 · 0 comments
Labels
Enhancement New feature or request Serviceability

Comments

@BrendanFishback
Copy link

Feature and motivation

The ansible playbooks offer the ability to collect more verbose logging by using the -vvv flag when running roles. The MAS CLI does not have this option, but when reviewing task logs you will still see messages related to this flag since the MAS CLI uses the ansible collection. Example:


TASK [ibm.mas_devops.ocp_provision : roks : Configure Private and Public Vlans] **************************************************************************************************************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: IndexError: list index out of range
fatal: [localhost]: FAILED! => changed=false

There should be a way to pass this verbose flag when using the MAS CLI as well.

Usage example

This would make it easier to troubleshoot issues, especially for situations like the above error which directly reference enabling verbose logging for further explanation about the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request Serviceability
Projects
None yet
Development

No branches or pull requests

1 participant
0