Downgraded a bunch of messages from debug to trace

This commit is contained in:
Igor Katson 2023-11-29 23:43:53 +00:00
parent aa2a41a53c
commit a5ae2988b8
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5
9 changed files with 39 additions and 31 deletions

View file

@ -277,7 +277,7 @@ impl RecursiveRequest<RecursiveRequestCallbacksGetPeers> {
async move {
let mut iteration = 0;
loop {
debug!("iteration {}", iteration);
trace!("iteration {}", iteration);
let sleep = match this.get_peers_root() {
Ok(0) => Duration::from_secs(1),
Ok(n) if n < 8 => REQUERY_INTERVAL / 2,

View file

@ -44,7 +44,7 @@ fn dump_dht(dht: &Dht, filename: &Path, tempfile_name: &Path) -> anyhow::Result<
.with_routing_table(|r| serde_json::to_writer(&mut file, &DhtSerialize { addr, table: r }))
{
Ok(_) => {
debug!("dumped DHT to {:?}", &tempfile_name);
trace!("dumped DHT to {:?}", &tempfile_name);
}
Err(e) => {
return Err(e).with_context(|| {

View file

@ -7,7 +7,7 @@ use serde::{
};
use tracing::debug;
use crate::{INACTIVITY_TIMEOUT};
use crate::INACTIVITY_TIMEOUT;
#[derive(Debug, Clone, Serialize, Deserialize)]
enum BucketTreeNodeData {