forked from TrueCloudLab/frostfs-node
[#2075] node, ir: Log notary state with info
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
0f41c09207
commit
50d28b72c3
2 changed files with 2 additions and 2 deletions
|
@ -82,7 +82,7 @@ func initMorphComponents(c *cfg) {
|
||||||
fatalOnErr(err)
|
fatalOnErr(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
c.log.Debug("notary support",
|
c.log.Info("notary support",
|
||||||
zap.Bool("sidechain_enabled", c.cfgMorph.notaryEnabled),
|
zap.Bool("sidechain_enabled", c.cfgMorph.notaryEnabled),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -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
|
!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("sidechain_enabled", !server.sideNotaryConfig.disabled),
|
||||||
zap.Bool("mainchain_enabled", !server.mainNotaryConfig.disabled),
|
zap.Bool("mainchain_enabled", !server.mainNotaryConfig.disabled),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue