Skip to content

Commit

Permalink
reduce log noise for now
Browse files Browse the repository at this point in the history
  • Loading branch information
aep committed Sep 4, 2018
1 parent 05a1077 commit 41f0b91
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/src/transport.rs
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ impl Channel {
self.last_seen + IDLE_TIMER
};
if self.deadline <= now {
warn!(
trace!(
"[{}] upcoming deadline {} already expired at {}",
self.debug_id, self.deadline, now
);
Expand Down
2 changes: 1 addition & 1 deletion lib/src/channel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ impl Future for ChannelWorker {
for (addr, _) in addrs.iter() {
match self.sock.send_to(&pkt, addr) {
Ok(len) if len == pkt.len() => (),
e => error!("send to {} didnt work {:?}", addr, e),
e => trace!("send to {} didnt work {:?}", addr, e),
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion lib/src/endpoint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ impl Future for EndpointWorker {
};

if let Err(e) = self.recv_one_pkt(&buf[..len], addr) {
warn!("EndpointWorker::recv_one_pkt {}", e);
trace!("EndpointWorker::recv_one_pkt {}", e);
}
}

Expand Down

0 comments on commit 41f0b91

Please sign in to comment.