node: Downgrade some logs to `trace` level

These logs were a bit noisy and don't help much.
This commit is contained in:
Alexis Sellier 2023-04-17 11:21:22 +02:00
parent 0e7ffcc916
commit a8f0329391
No known key found for this signature in database
1 changed files with 5 additions and 5 deletions

View File

@ -424,7 +424,7 @@ where
} }
pub fn tick(&mut self, now: LocalTime) { pub fn tick(&mut self, now: LocalTime) {
trace!("Tick +{}", now - self.start_time); trace!(target: "service", "Tick +{}", now - self.start_time);
self.clock = now; self.clock = now;
} }
@ -826,14 +826,14 @@ where
// Discard inventory messages we've already seen, otherwise update // Discard inventory messages we've already seen, otherwise update
// out last seen time. // out last seen time.
if !peer.inventory_announced(announcement.clone()) { if !peer.inventory_announced(announcement.clone()) {
debug!(target: "service", "Ignoring stale inventory announcement from {announcer} (t={})", self.time()); trace!(target: "service", "Ignoring stale inventory announcement from {announcer} (t={})", self.time());
return Ok(false); return Ok(false);
} }
match self.sync_routing(&message.inventory, *announcer, message.timestamp) { match self.sync_routing(&message.inventory, *announcer, message.timestamp) {
Ok(synced) => { Ok(synced) => {
if synced.is_empty() { if synced.is_empty() {
debug!(target: "service", "No routes updated by inventory announcement from {announcer}"); trace!(target: "service", "No routes updated by inventory announcement from {announcer}");
return Ok(false); return Ok(false);
} }
} }
@ -905,7 +905,7 @@ where
// Discard announcement messages we've already seen, otherwise update // Discard announcement messages we've already seen, otherwise update
// our last seen time. // our last seen time.
if !peer.refs_announced(message.rid, announcement.clone()) { if !peer.refs_announced(message.rid, announcement.clone()) {
debug!(target: "service", "Ignoring stale refs announcement from {announcer} (time={timestamp})"); trace!(target: "service", "Ignoring stale refs announcement from {announcer} (time={timestamp})");
return Ok(false); return Ok(false);
} }
@ -951,7 +951,7 @@ where
// Discard node messages we've already seen, otherwise update // Discard node messages we've already seen, otherwise update
// our last seen time. // our last seen time.
if !peer.node_announced(announcement.clone()) { if !peer.node_announced(announcement.clone()) {
debug!(target: "service", "Ignoring stale node announcement from {announcer}"); trace!(target: "service", "Ignoring stale node announcement from {announcer}");
return Ok(false); return Ok(false);
} }