[#2075] node, ir: Log notary state with info

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
Pavel Karpy 2022-11-22 18:20:43 +03:00 committed by fyrchik
parent 0f41c09207
commit 50d28b72c3
2 changed files with 2 additions and 2 deletions

View file

@ -82,7 +82,7 @@ func initMorphComponents(c *cfg) {
fatalOnErr(err)
}
c.log.Debug("notary support",
c.log.Info("notary support",
zap.Bool("sidechain_enabled", c.cfgMorph.notaryEnabled),
)

View file

@ -411,7 +411,7 @@ func New(ctx context.Context, log *logger.Logger, cfg *viper.Viper, errChan chan
!server.withoutMainNet && server.mainnetClient.ProbeNotary(), // if mainnet disabled then notary flag must be disabled too
)
log.Debug("notary support",
log.Info("notary support",
zap.Bool("sidechain_enabled", !server.sideNotaryConfig.disabled),
zap.Bool("mainchain_enabled", !server.mainNotaryConfig.disabled),
)