aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main.rs b/src/main.rs
index 1730edc..192dd91 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -226,7 +226,7 @@ impl Daemon {
let mut i = 0;
loop {
if let Err(e) = self.wg_loop_iter(i) {
- error!("Wg loop error: {}", e);
+ error!("Wireguard configuration loop error: {}", e);
}
i = i + 1;
std::thread::sleep(TRY_INTERVAL);
@@ -324,7 +324,7 @@ impl Daemon {
.map_err(|e| anyhow!("decrypt error: {}", e))?;
let gossip = bincode::deserialize(&plaintext)?;
- debug!("RECV {}\t{:?}", src, gossip);
+ trace!("RECV {}\t{:?}", src, gossip);
Ok((src, gossip))
}
@@ -436,7 +436,7 @@ impl State {
for (gossip_ip, _) in peer_vec.into_iter().take(GOSSIP_PEERS) {
let addr = SocketAddr::new(gossip_ip, daemon.config.gossip_port);
- debug!("SEND {}\t{:?}", addr, gossip);
+ trace!("SEND {}\t{:?}", addr, gossip);
daemon.socket.send_to(&packet, addr)?;
}
@@ -483,7 +483,7 @@ impl State {
}
};
if let Some(propagate) = propagate {
- info!("Propagating announce: {:?}", propagate);
+ debug!("Propagating announce: {:?}", propagate);
self.send_gossip(daemon, propagate)?;
}
Ok(())