aboutsummaryrefslogtreecommitdiff
path: root/src/client.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-07-25 15:04:52 +0200
committerAlex Auvolat <alex@adnab.me>2022-07-25 15:04:52 +0200
commit74e57016f63b6052cf6d539812859c3a46138eee (patch)
tree9e0dd9a7176d8f977b0dac55242c2870966ee90a /src/client.rs
parent7499721a10d1d9e977024224b9d80d91ce93628b (diff)
downloadnetapp-74e57016f63b6052cf6d539812859c3a46138eee.tar.gz
netapp-74e57016f63b6052cf6d539812859c3a46138eee.zip
Add some debugging
Diffstat (limited to 'src/client.rs')
-rw-r--r--src/client.rs9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/client.rs b/src/client.rs
index d51236b..2fccdb8 100644
--- a/src/client.rs
+++ b/src/client.rs
@@ -179,10 +179,9 @@ impl ClientConn {
})));
}
- trace!(
- "request: query_send {} (serialized message: {} bytes)",
- id,
- req_msg_len
+ debug!(
+ "request: query_send {}, path {}, prio {} (serialized message: {} bytes)",
+ id, path, prio, req_msg_len
);
#[cfg(feature = "telemetry")]
@@ -201,7 +200,7 @@ impl ClientConn {
}
let resp_enc = RespEnc::decode(stream).await?;
- trace!("request response {}", id);
+ debug!("client: got response to request {} (path {})", id, path);
Resp::from_enc(resp_enc)
}
}