mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-21 14:10:35 +02:00
multi: add logs when subservers are starting
Also unified the log messages.
This commit is contained in:
@@ -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