strip some more logging down

This commit is contained in:
Asim Aslam 2019-12-10 09:08:03 +00:00
parent 6b1eef5354
commit 7e46ff5d92
2 changed files with 3 additions and 3 deletions

View File

@ -656,7 +656,7 @@ func (n *network) processCtrlChan(listener tunnel.Listener) {
Events: events,
}
log.Debugf("Network router %s processing advert: %s", n.Id(), advert.Id)
log.Tracef("Network router %s processing advert: %s", n.Id(), advert.Id)
if err := n.router.Process(advert); err != nil {
log.Debugf("Network failed to process advert %s: %v", advert.Id, err)
}
@ -674,7 +674,7 @@ func (n *network) processCtrlChan(listener tunnel.Listener) {
continue
}
log.Debugf("Network router flushing routes for: %s", pbRtrSolicit.Id)
log.Tracef("Network router flushing routes for: %s", pbRtrSolicit.Id)
// advertise all the routes when a new node has connected
if err := n.router.Solicit(); err != nil {

View File

@ -712,7 +712,7 @@ func (r *router) Process(a *Advert) error {
return events[i].Timestamp.Before(events[j].Timestamp)
})
log.Debugf("Router %s processing advert from: %s", r.options.Id, a.Id)
log.Tracef("Router %s processing advert from: %s", r.options.Id, a.Id)
for _, event := range events {
// skip if the router is the origin of this route