Skip to content

Commit

Permalink
Adjust mspimpl.go/Validate log level from Inf to Dbg
Browse files Browse the repository at this point in the history
When the ordering service receives invocation requests,
and is configured at logging severity level of INFO,
all it prints is MSP <MSP.name> validating identity.

This is inconsistent with the rest of the system.
Either more information needs to be printed at INFO,
or none at all.

Hence I am changing this to Debugf.

Change-Id: If9bf37c29d44a7c21abc6561022db1bd33905304
Signed-off-by: Yacov Manevich <yacovm@il.ibm.com>
  • Loading branch information
yacovm committed Mar 30, 2017
1 parent a785a4c commit bf307fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion msp/mspimpl.go
Expand Up @@ -375,7 +375,7 @@ func (msp *bccspmsp) GetSigningIdentity(identifier *IdentityIdentifier) (Signing
// nil in case the identity is valid or an
// error otherwise
func (msp *bccspmsp) Validate(id Identity) error {
mspLogger.Infof("MSP %s validating identity", msp.name)
mspLogger.Debugf("MSP %s validating identity", msp.name)

switch id := id.(type) {
// If this identity is of this specific type,
Expand Down

0 comments on commit bf307fa

Please sign in to comment.