multi: add logs when subservers are starting
Also unified the log messages.
This commit is contained in:
18 files changed
+20
-15
No files matched your search
@@ -132,6 +132,7 @@ func NewOnionProcessor(router *sphinx.Router) *OnionProcessor {
|
||||
|
||||
// Start spins up the onion processor's sphinx router.
|
||||
func (p *OnionProcessor) Start() error {
|
||||
log.Info("Onion processor starting")
|
||||
return p.router.Start()
|
||||
}
|
||||
|
||||
|
||||
@@ -81,7 +81,7 @@ func NewHtlcNotifier(now func() time.Time) *HtlcNotifier {
|
||||
func (h *HtlcNotifier) Start() error {
|
||||
var err error
|
||||
h.started.Do(func() {
|
||||
log.Trace("HtlcNotifier starting")
|
||||
log.Info("HtlcNotifier starting")
|
||||
err = h.ntfnServer.Start()
|
||||
})
|
||||
return err
|
||||
|
||||
@@ -1846,7 +1846,7 @@ func (s *Switch) Start() error {
|
||||
return errors.New("htlc switch already started")
|
||||
}
|
||||
|
||||
log.Infof("Starting HTLC Switch")
|
||||
log.Infof("HTLC Switch starting")
|
||||
|
||||
blockEpochStream, err := s.cfg.Notifier.RegisterBlockEpochNtfn(nil)
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user