Open brandonmartinez opened 2 years ago
For example, this is way too noisy:
And ideally, that JSON output has literal escapes in it (all of the \r
\n
and \\
in the JSON output) that could be cleaned up and displayed properly for debug purposes.
When
az
is running, it can get pretty chatty with warnings and errors. Instead, disable the current stderr output and route that into powershell; if there's an error, throw the error and let Powershell handle it.Need to set AZURE_CORE_ONLY_SHOW_ERRORS to disable warnings from getting logged, and then route errors somewhere else using
2>$something
: https://learn.microsoft.com/en-us/cli/azure/azure-cli-configurationThis should also be made configurable so that during development they can still be seen, but during a normal run it's hidden.