diff --git a/fabric-contract-api/lib/annotations/transaction.js b/fabric-contract-api/lib/annotations/transaction.js index 857a5918..019384ec 100644 --- a/fabric-contract-api/lib/annotations/transaction.js +++ b/fabric-contract-api/lib/annotations/transaction.js @@ -25,6 +25,9 @@ module.exports.Transaction = function Transaction (commit = true) { const description = ''; const contextType = target.createContext().constructor; + + logger.debug(`Transaction ${target} -> ${propertyKey} params`, paramNames); + const paramTypes = Reflect.getMetadata('design:paramtypes', target, propertyKey) || []; let numRemoved = 0; diff --git a/fabric-shim/lib/contract-spi/chaincodefromcontract.js b/fabric-shim/lib/contract-spi/chaincodefromcontract.js index 5e4e284b..6ed61eb7 100644 --- a/fabric-shim/lib/contract-spi/chaincodefromcontract.js +++ b/fabric-shim/lib/contract-spi/chaincodefromcontract.js @@ -42,7 +42,8 @@ class ChaincodeFromContract { } this.serializers = serializers; - logger.info('Using serializers', serializers); + logger.debug('Using serializers', serializers); + this.title = title; this.version = version;