Skip to content

Commit 246d25d

Browse files
committed
remove needless info from endorser log
Deploy proposal contains the code bytes. It may take up a lot of space. And printing bytes brings little readable information. Now while endorsing, the unreadable log will fill the full screen. Check any jenkins log will see that. Change-Id: I8ff1a5fc4b587b9a894057b13be04a9812e096ff Signed-off-by: jiangyaoguo <[email protected]>
1 parent 87a0ce8 commit 246d25d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/endorser/endorser.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ func (e *Endorser) getCDSFromLCCC(ctx context.Context, chainID string, txid stri
163163

164164
//endorse the proposal by calling the ESCC
165165
func (e *Endorser) endorseProposal(ctx context.Context, chainID string, txid string, proposal *pb.Proposal, simRes []byte, event *pb.ChaincodeEvent, visibility []byte, ccid *pb.ChaincodeID, txsim ledger.TxSimulator) ([]byte, error) {
166-
endorserLogger.Infof("endorseProposal starts for proposal %p, chainID %s, simRes %p event %p, visibility %p, ccid %s", chainID, proposal, simRes, event, visibility, ccid)
166+
endorserLogger.Infof("endorseProposal starts for chainID %s, ccid %s", chainID, ccid)
167167

168168
// 1) extract the chaincodeDeploymentSpec for the chaincode we are invoking; we need it to get the escc
169169
var escc string

0 commit comments

Comments
 (0)