Skip to content

Commit 913648a

Browse files
committed
Remove hard-coded log level for chaincode module
This change ensures the log level for the chaincode module is inherited from the parent command's log level instead of using a hard-coded value of DEBUG. https://jira.hyperledger.org/browse/FAB-1870 Change-Id: Ia4eb7bb667324433f4b586181c9638e65d6b88e6 Signed-off-by: Will Lahti <[email protected]>
1 parent 135d923 commit 913648a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

core/chaincode/shim/chaincode.go

-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ func SetChaincodeLoggingLevel() {
132132
// StartInProc is an entry point for system chaincodes bootstrap. It is not an
133133
// API for chaincodes.
134134
func StartInProc(env []string, args []string, cc Chaincode, recv <-chan *pb.ChaincodeMessage, send chan<- *pb.ChaincodeMessage) error {
135-
logging.SetLevel(logging.DEBUG, "chaincode")
136135
chaincodeLogger.Debugf("in proc %v", args)
137136

138137
var chaincodename string

0 commit comments

Comments
 (0)