Skip to content

Commit

Permalink
[FAB-8353] - Change the transient map debug log
Browse files Browse the repository at this point in the history
[FAB-8353] The current transient map debug log dumps out the bytes
for the entire transient map.  This change will use util.inspect to
display each member of the transient map along with a few bytes of data.

Change-Id: Iab62204a148b92425b2bdc43a1c10e73b36ec443
Signed-off-by: Eric Vaughn <eric.vaughn@blocledger.com>
  • Loading branch information
ericmvaughn committed Feb 18, 2018
1 parent 0ace8d1 commit bdbbb67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fabric-client/lib/client-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ module.exports.buildProposal = function (invokeSpec, header, transientMap) {
cc_payload.setInput(cciSpec.toBuffer());

if (typeof transientMap === 'object') {
logger.debug('buildProposal - adding in transientMap %j', transientMap);
logger.debug('buildProposal - adding in transientMap %s', util.inspect(transientMap));
cc_payload.setTransientMap(transientMap);
}
else {
Expand Down

0 comments on commit bdbbb67

Please sign in to comment.