Skip to content

Commit

Permalink
remove repeated logs
Browse files Browse the repository at this point in the history
  • Loading branch information
atedesch1 committed Nov 13, 2023
1 parent 7af101c commit 88e65d2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/internal/dht/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -337,8 +337,7 @@ impl Node {
.leaf
.insert(entry.id, NodeInfo::from_node_entry(entry))?;
}
info!("#{:016X}: Updated leaf set", self.id);
debug!("#{:016X}: Leaf set updated: \n{}", self.id, state_data.leaf);
debug!("#{:016X}: Updated leaf set: \n{}", self.id, state_data.leaf);

Ok(())
}
Expand All @@ -357,9 +356,8 @@ impl Node {
.table
.insert(entry.id, NodeInfo::from_node_entry(entry))?;
}
info!("#{:016X}: Updated routing table", self.id);
debug!(
"#{:016X}: Routing table updated: \n{}",
"#{:016X}: Updated routing table: \n{}",
self.id, state_data.table
);
Ok(())
Expand Down

0 comments on commit 88e65d2

Please sign in to comment.