Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Chaincode Logging Analysis in Hyperledger Fabric Versions 2.3 and 2.4

The following table showcases the collected logs from deploying various chaincodes from the Hyperledger Fabric samples repository for analysis in versions 2.3 and 2.4.

Repository Link: https://github.com/hyperledger/fabric-samples

Chaincode NameGatewayEndorsement PolicyExpected LogsLogs VersionLog Levels
asset-transfer-basicYesDefault Transaction, Endorsement & Gateway Logs2.3, 2.4
Info
INFO,
Debug
DEBUG
asset-transfer-basicNoDefault Transaction & Endorsement Logs2.3, 2.4
Info
INFO
asset-transfer-sbeNoAND (All Org Signatures)
State-based Endorsement
Endorsement from the peers of all the organizations & Transaction Logs2.3, 2.4
Info
INFO
asset-transfer-private-dataYesOR (Any Org Signatures)
 Gateway
 Endorsement from either of all the organizations & Endorsement Logs2.3, 2.4
Info
INFO,
Debug
DEBUG