From 8013f4249332b4ada02c23ab1473775534e16540 Mon Sep 17 00:00:00 2001 From: Manohar Reddy Date: Sat, 9 Sep 2023 21:31:30 +0200 Subject: [PATCH] use 0box-sdk logger for zcnbridge (#304) --- cmd/root.go | 1 + 1 file changed, 1 insertion(+) 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")