Commit 8db4c585 authored by Matthew Sykes's avatar Matthew Sykes
Browse files

[FAB-9131] use flogging in docker controller



Change-Id: I581828d4570bbac2cd96ad018f0901e498bfc468
Signed-off-by: default avatarMatthew Sykes <sykesmat@us.ibm.com>
parent 50aec3fc
......@@ -26,7 +26,6 @@ import (
"github.com/hyperledger/fabric/core/container"
"github.com/hyperledger/fabric/core/container/ccintf"
cutil "github.com/hyperledger/fabric/core/container/util"
"github.com/op/go-logging"
"github.com/spf13/viper"
)
......@@ -315,7 +314,7 @@ func (vm *DockerVM) Start(ccid ccintf.CCID,
// Acquire a custom logger for our chaincode, inheriting the level from the peer
containerLogger := flogging.MustGetLogger(containerName)
logging.SetLevel(logging.GetLevel("peer"), containerName)
flogging.SetModuleLevel(flogging.GetModuleLevel("peer"), containerName)
for {
// Loop forever dumping lines of text into the containerLogger
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment