discovery: use debug logging level for rejected announcements
This commit is contained in:
parent
2cb6878568
commit
f7c8938e7d
@ -461,7 +461,7 @@ func (d *AuthenticatedGossiper) processNetworkAnnouncement(nMsg *networkMsg) []l
|
|||||||
|
|
||||||
if err := d.cfg.Router.AddNode(node); err != nil {
|
if err := d.cfg.Router.AddNode(node); err != nil {
|
||||||
if routing.IsError(err, routing.ErrOutdated, routing.ErrIgnored) {
|
if routing.IsError(err, routing.ErrOutdated, routing.ErrIgnored) {
|
||||||
log.Info(err)
|
log.Debug(err)
|
||||||
} else {
|
} else {
|
||||||
log.Error(err)
|
log.Error(err)
|
||||||
}
|
}
|
||||||
@ -539,7 +539,7 @@ func (d *AuthenticatedGossiper) processNetworkAnnouncement(nMsg *networkMsg) []l
|
|||||||
if routing.IsError(err, routing.ErrOutdated,
|
if routing.IsError(err, routing.ErrOutdated,
|
||||||
routing.ErrIgnored) {
|
routing.ErrIgnored) {
|
||||||
|
|
||||||
log.Info(err)
|
log.Debug(err)
|
||||||
} else {
|
} else {
|
||||||
log.Error(err)
|
log.Error(err)
|
||||||
}
|
}
|
||||||
@ -630,7 +630,7 @@ func (d *AuthenticatedGossiper) processNetworkAnnouncement(nMsg *networkMsg) []l
|
|||||||
|
|
||||||
if err := d.cfg.Router.UpdateEdge(update); err != nil {
|
if err := d.cfg.Router.UpdateEdge(update); err != nil {
|
||||||
if routing.IsError(err, routing.ErrOutdated, routing.ErrIgnored) {
|
if routing.IsError(err, routing.ErrOutdated, routing.ErrIgnored) {
|
||||||
log.Info(err)
|
log.Debug(err)
|
||||||
} else {
|
} else {
|
||||||
log.Error(err)
|
log.Error(err)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user