aboutsummaryrefslogtreecommitdiff
path: root/src/conn.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-12-11 13:34:04 +0100
committerAlex Auvolat <alex@adnab.me>2020-12-11 13:34:04 +0100
commitfd8c487b9b9cb6911191e72f4fda8af09d4d0250 (patch)
tree2952f674ced804d899bea47d4fe8dbfc8277f75c /src/conn.rs
parent58ec2abe1a805d0fe6c86ab009f6947adbd9ca2b (diff)
downloadnetapp-fd8c487b9b9cb6911191e72f4fda8af09d4d0250.tar.gz
netapp-fd8c487b9b9cb6911191e72f4fda8af09d4d0250.zip
Less verbosity
Diffstat (limited to 'src/conn.rs')
-rw-r--r--src/conn.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conn.rs b/src/conn.rs
index 0aee952..e965fc9 100644
--- a/src/conn.rs
+++ b/src/conn.rs
@@ -112,7 +112,7 @@ impl SendLoop for ServerConn {}
#[async_trait]
impl RecvLoop for ServerConn {
async fn recv_handler(self: Arc<Self>, id: u16, bytes: Vec<u8>) {
- debug!("ServerConn recv_handler {} ({} bytes)", id, bytes.len());
+ trace!("ServerConn recv_handler {} ({} bytes)", id, bytes.len());
let bytes: Bytes = bytes.into();
@@ -264,7 +264,7 @@ impl SendLoop for ClientConn {}
#[async_trait]
impl RecvLoop for ClientConn {
async fn recv_handler(self: Arc<Self>, id: RequestID, msg: Vec<u8>) {
- debug!("ClientConn recv_handler {} ({} bytes)", id, msg.len());
+ trace!("ClientConn recv_handler {} ({} bytes)", id, msg.len());
let mut inflight = self.inflight.lock().unwrap();
if let Some(ch) = inflight.remove(&id) {