diff --git a/pkg/consensus/consensus.go b/pkg/consensus/consensus.go index 6fc898047..b6cb8cc07 100644 --- a/pkg/consensus/consensus.go +++ b/pkg/consensus/consensus.go @@ -244,6 +244,7 @@ func (s *service) newPrepareRequest() payload.PrepareRequest { func (s *service) Start() { if s.started.CAS(false, true) { + s.log.Info("starting consensus service") s.dbft.Start() s.Chain.SubscribeForBlocks(s.blockEvents) go s.eventLoop() diff --git a/pkg/services/notary/notary.go b/pkg/services/notary/notary.go index 66d2eb5eb..a2f5d7eb5 100644 --- a/pkg/services/notary/notary.go +++ b/pkg/services/notary/notary.go @@ -117,6 +117,7 @@ func NewNotary(cfg Config, net netmode.Magic, mp *mempool.Pool, onTransaction fu // Run runs Notary module and should be called in a separate goroutine. func (n *Notary) Run() { + n.Config.Log.Info("starting notary service") n.Config.Chain.SubscribeForBlocks(n.blocksCh) n.mp.SubscribeForTransactions(n.reqCh) for { diff --git a/pkg/services/oracle/oracle.go b/pkg/services/oracle/oracle.go index 5a6fe8e2c..8cfb3b424 100644 --- a/pkg/services/oracle/oracle.go +++ b/pkg/services/oracle/oracle.go @@ -162,6 +162,7 @@ func (o *Oracle) Shutdown() { // Run runs must be executed in a separate goroutine. func (o *Oracle) Run() { + o.Log.Info("starting oracle service") for i := 0; i < o.MainCfg.MaxConcurrentRequests; i++ { go o.runRequestWorker() } diff --git a/pkg/services/stateroot/validators.go b/pkg/services/stateroot/validators.go index b82b5703a..ed0895ae0 100644 --- a/pkg/services/stateroot/validators.go +++ b/pkg/services/stateroot/validators.go @@ -12,6 +12,7 @@ import ( // Run runs service instance in a separate goroutine. func (s *service) Run() { + s.log.Info("starting state validation service") s.chain.SubscribeForBlocks(s.blockCh) go s.run() }