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

Add debug for gateway endorsement requests #2538

Merged
merged 1 commit into from
Apr 13, 2021

Conversation

denyeart
Copy link
Contributor

@denyeart denyeart commented Apr 13, 2021

Add debug messages for the results of gateway endorsement requests.
This makes it easy for developers to see which endorsers were called
and how they each responded.

Sample debug message:
2021-04-13 16:03:17.700 EDT 007c DEBU [gateway] func1 -> Endorse call to endorser returned success channel=testchannel txid=639171f184651f2913d81ba237991fb6e5152f76b28c27e09198103e7e9b855a endorserNumber=1 numEndorsers=2 endorserAddress=127.0.0.1:22005 endorserMspid=Org1MSP status=200 message="message"

Signed-off-by: David Enyeart [email protected]

@denyeart denyeart requested a review from a team as a code owner April 13, 2021 20:10
@denyeart denyeart force-pushed the gateway_endorser_debug branch 3 times, most recently from 2f8afe5 to 8d85d95 Compare April 13, 2021 20:39
manish-sethi
manish-sethi previously approved these changes Apr 13, 2021
@manish-sethi manish-sethi enabled auto-merge (squash) April 13, 2021 20:44
Add debug messages for the results of gateway endorsement requests.
This makes it easy for developers to see which endorsers were called
and how they each responded.

Signed-off-by: David Enyeart <[email protected]>
@manish-sethi manish-sethi merged commit d001dbc into hyperledger:main Apr 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants