diff --git a/libraries/fabric-shim/lib/handler.js b/libraries/fabric-shim/lib/handler.js index e521f8aa..f61be718 100644 --- a/libraries/fabric-shim/lib/handler.js +++ b/libraries/fabric-shim/lib/handler.js @@ -310,7 +310,7 @@ class ChaincodeMessageHandler { let state = 'created'; stream.on('data', function (msg) { - logger.debug('Received chat message from peer: %j, state: %s', msg, state); + logger.debug('Received chat message from peer: %s, state: %s', msg.txid, state); if (state === STATES.Ready) { const type = msg.type;