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