Skip to content

Commit

Permalink
discovery: use debug logging level for rejected announcements
Browse files Browse the repository at this point in the history
  • Loading branch information
Roasbeef committed Apr 13, 2017
1 parent 2cb6878 commit f7c8938
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions discovery/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down Expand Up @@ -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)
}
Expand Down Expand Up @@ -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)
}
Expand Down

0 comments on commit f7c8938

Please sign in to comment.