-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trim long MSP plaintext messages in logs
This changeset trims the MSP plaintext message in the log statement to the beginning and end of the byte array if its length is greater than 32. Logging the entire plaintext for very long messages can lead to the process hanging when deploying chaincode. https://jira.hyperledger.org/browse/FAB-1870 Change-Id: I0d169df859c0be97090c86ff73f014d813ea7cdd Signed-off-by: Will Lahti <wtlahti@us.ibm.com>
- Loading branch information
Showing
2 changed files
with
46 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters