Skip to content
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

govc: add '-trace' and '-verbose' flags #2263

Merged
merged 1 commit into from
Mar 22, 2021
Merged

Conversation

dougm
Copy link
Member

@dougm dougm commented Jan 31, 2021

The '-trace' flag piggy backs the '-debug' flag, writing formatted SOAP and REST traffic to stderr.

The '-verbose' flag logs request/response in a more compact format.

Fixes #1124

@dougm dougm added this to the 0.25 milestone Jan 31, 2021
@dougm dougm force-pushed the debug-format branch 3 times, most recently from 23ac873 to 62c1f04 Compare February 7, 2021 16:27
@dougm dougm force-pushed the debug-format branch 2 times, most recently from 37ed628 to 513a4c1 Compare March 21, 2021 17:55
The '-trace' flag piggy backs the '-debug' flag, writing formatted SOAP and REST traffic to stderr.

The '-verbose' flag logs request/response in a more compact format.

Fixes vmware#1124
@dougm dougm changed the title govc: add '-trace' flag govc: add '-trace' and '-verbose' flags Mar 22, 2021
@dougm dougm merged commit c1c1989 into vmware:master Mar 22, 2021
@dougm dougm deleted the debug-format branch March 22, 2021 03:16
dougm added a commit to dougm/govmomi that referenced this pull request Mar 24, 2021
Follow up to vmware#2263 , the new '-verbose' flag depends on soap.RoundTripper chaining,
which was only supported by the vim25.Client.  This change enables chaining for all
other endpoint clients.
dougm added a commit to dougm/govmomi that referenced this pull request Mar 24, 2021
Follow up to vmware#2263 , the new '-verbose' flag depends on soap.RoundTripper chaining,
which was only supported by the vim25.Client.  This change enables chaining for all
other endpoint clients.
protochron pushed a commit to protochron/govmomi that referenced this pull request Aug 31, 2021
Follow up to vmware#2263 , the new '-verbose' flag depends on soap.RoundTripper chaining,
which was only supported by the vim25.Client.  This change enables chaining for all
other endpoint clients.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

a verbose/trace mode for the govc CLI that says what action, request, and response is being done
2 participants