discovery: use debug logging level for rejected announcements

This commit is contained in:
Olaoluwa Osuntokun 2017-04-13 14:30:41 -07:00
parent 2cb6878568
commit f7c8938e7d
No known key found for this signature in database
GPG Key ID: 9CC5B105D03521A2

@ -461,7 +461,7 @@ func (d *AuthenticatedGossiper) processNetworkAnnouncement(nMsg *networkMsg) []l
if err := d.cfg.Router.AddNode(node); err != nil {
if routing.IsError(err, routing.ErrOutdated, routing.ErrIgnored) {
log.Info(err)
log.Debug(err)
} else {
log.Error(err)
}
@ -539,7 +539,7 @@ func (d *AuthenticatedGossiper) processNetworkAnnouncement(nMsg *networkMsg) []l
if routing.IsError(err, routing.ErrOutdated,
routing.ErrIgnored) {
log.Info(err)
log.Debug(err)
} else {
log.Error(err)
}
@ -630,7 +630,7 @@ func (d *AuthenticatedGossiper) processNetworkAnnouncement(nMsg *networkMsg) []l
if err := d.cfg.Router.UpdateEdge(update); err != nil {
if routing.IsError(err, routing.ErrOutdated, routing.ErrIgnored) {
log.Info(err)
log.Debug(err)
} else {
log.Error(err)
}