Skip to content

Commit ef1a51c

Browse files
committed
[FAB-10501] Log VSCCValidateTxForCC message at debug
This CR changes the log level for the message in VSCCValidateTxForCC from INFO to DEBUG to remove the unnecessary noise at the info level. It also fixes a minor golint issue. Change-Id: I72d5de621ca04191cc90a8a29a19cb295e021732 Signed-off-by: Will Lahti <wtlahti@us.ibm.com>
1 parent 9bf450b commit ef1a51c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

core/committer/txvalidator/vscc_validator.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ import (
2626
"github.com/pkg/errors"
2727
)
2828

29-
// vsccValidator implementation which used to call
30-
// vscc chaincode and validate block transactions
29+
// VsccValidatorImpl is the implementation used to call
30+
// the vscc chaincode and validate block transactions
3131
type VsccValidatorImpl struct {
3232
support Support
3333
sccprovider sysccprovider.SystemChaincodeProvider
@@ -258,7 +258,7 @@ func (v *VsccValidatorImpl) VSCCValidateTx(seq int, payload *common.Payload, env
258258
}
259259

260260
func (v *VsccValidatorImpl) VSCCValidateTxForCC(ctx *Context) error {
261-
logger.Info("Validating", ctx, "with plugin")
261+
logger.Debug("Validating", ctx, "with plugin")
262262
err := v.pluginValidator.ValidateWithPlugin(ctx)
263263
if err == nil {
264264
return nil

0 commit comments

Comments
 (0)