Skip to content

zwe command should ignore --trace or --debug flags (sometimes) #4093

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
Martin-Zeithaml opened this issue Nov 21, 2024 · 0 comments
Open
Labels
enhancement New feature or request zwe

Comments

@Martin-Zeithaml
Copy link
Contributor

Example - zwe internal config get

Note: zowe.setup.dataset.prefix is not defined and the result should be nothing, but the result contains tracing messages.

/zowe/bin: result=$(./zwe internal config get -c ./zowe.yaml -p '.zowe.setup.dataset.prefix' --trace)
/zowe/bin: echo $result
fs.mkdir paths=["/zowe","/zowe/ws"] fs.mkdir paths=["/zowe","/zowe/ws","/zowe/ws/.env"]

Review all zwe commands, which might be affected as zwe internal config get and update/change the behavior of such command.

One of the solutions is to turn tracing/debugging off when processing the command.

@Martin-Zeithaml Martin-Zeithaml added enhancement New feature or request zwe labels Nov 21, 2024
@Martin-Zeithaml Martin-Zeithaml changed the title zwe commands producing output to stdout should ignore --trace or --debug flags zwe command should ignore --trace or --debug flags (sometimes) Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request zwe
Projects
Status: No status
Development

No branches or pull requests

1 participant