diff --git a/cmd/root.go b/cmd/root.go index 3e553ad6..80194d14 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -91,6 +91,7 @@ func initZCNCore() { // set the log file zcncore.SetLogFile("cmdlog.log", !bSilent) bridge.SetLogFile("bridge.log", !bSilent) + sdk.SetLogFile("cmdlog.log", !bSilent) blockWorker := cfgConfig.GetString("block_worker") chainID := cfgConfig.GetString("chain_id")