Skip to content

Commit

Permalink
[#2075] node, ir: Log notary state with info
Browse files Browse the repository at this point in the history
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
  • Loading branch information
carpawell committed Nov 30, 2022
1 parent fdbc81c commit 8121316
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/neofs-node/morph.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/innerring/innerring.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
)
Expand Down

0 comments on commit 8121316

Please sign in to comment.