Skip to content

Commit 8f52072

Browse files
committed
lower to trace even
1 parent 3c7f54d commit 8f52072

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

netwatch/src/netmon/actor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ impl Actor {
173173
}
174174

175175
async fn handle_potential_change(&mut self, time_jumped: bool) -> Result<()> {
176-
debug!("potential change");
176+
trace!("potential change");
177177

178178
let new_state = State::new().await;
179179
let old_state = &self.interface_state;

netwatch/src/netmon/linux.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ use netlink_packet_route::{address, route, RouteNetlinkMessage};
1414
use netlink_sys::{AsyncSocket, SocketAddr};
1515
use rtnetlink::new_connection;
1616
use tokio::{sync::mpsc, task::JoinHandle};
17-
use tracing::{debug, trace, warn};
17+
use tracing::{trace, warn};
1818

1919
use super::actor::NetworkMessage;
2020
use crate::ip::is_link_local;
@@ -78,7 +78,7 @@ impl RouteMonitor {
7878
warn!("error reading netlink payload: {:?}", err);
7979
}
8080
NetlinkPayload::Done(_) => {
81-
debug!("done received, exiting");
81+
trace!("done received, exiting");
8282
break;
8383
}
8484
NetlinkPayload::InnerMessage(msg) => match msg {

netwatch/src/udp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ impl UdpSocket {
170170
/// limiting packets that are read via `recv` from the address specified in
171171
/// `addr`.
172172
pub fn connect(&self, addr: SocketAddr) -> io::Result<()> {
173-
debug!(%addr, "connecting");
173+
trace!(%addr, "connecting");
174174
let guard = self.socket.read().unwrap();
175175
let (socket_tokio, _state) = guard.try_get_connected()?;
176176

0 commit comments

Comments
 (0)