apache / apache/openwhisk-wskdeploy
revisit wskdeploy debug/verbose mode
- Dominant language
- Go
- Stars
- 75
- Forks
- 73
- PR merge metrics
- No merged PRs in 30d
Description
When you run `wskdeploy -v` today, it displays debug messages from the underneath libraries as well, more specifically, whisk CLI. This is a nice to have debug messages but it will be great to have a separate flag or level to check debug messages from `wskdeploy` itself.
```
[o/whisk.PrintResponseInfo]:475:[Inf] Response body received (ASCII quoted string):
"OK"
[k.IsResponseResultSuccess]:630:[Wrn] IsResponseResultSuccess: failed to parse response result: invalid character 'O' looking for beginning of value
[hisk.parseSuccessResponse]:555:[Inf] Parsing HTTP response into struct type: **whisk.Rule
[hisk.parseSuccessResponse]:567:[Wrn] Unsuccessful parse of HTTP response into struct type: **whisk.Rule; parse error 'invalid character 'O' looking for beginning of value'
[hisk.parseSuccessResponse]:568:[Wrn] Request was successful, so ignoring the following unexpected response body that could not be parsed: OK
[rviceDeployer).createRule]:834:[Inf] Rule ManagedRule-1 has been successfully deployed.
```
I am rather only interested in the following message:
```
[rviceDeployer).createRule]:834:[Inf] Rule ManagedRule-1 has been successfully deployed.
```
Contributor guide
Assessment
This issue has not been assessed yet.