Skip to content

Commit 5a9a26b

Browse files
author
Zelda Hessler
committed
update logging message
1 parent a6a3cf1 commit 5a9a26b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

rust-runtime/inlineable/src/client_request_compression.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,11 @@ impl Intercept for RequestCompressionInterceptor {
128128
// we check to see if the data is big enough to make compression worthwhile.
129129
if let Some(known_size) = http_body::Body::size_hint(request.body()).exact() {
130130
if known_size < options.min_compression_size_bytes() as u64 {
131-
tracing::trace!("request body is below minimum size and will not be compressed");
131+
tracing::trace!(
132+
min_compression_size_bytes = options.min_compression_size_bytes(),
133+
known_size,
134+
"request body is below minimum size and will not be compressed"
135+
);
132136
return Ok(());
133137
}
134138
tracing::trace!("compressing non-streaming request body...")

0 commit comments

Comments
 (0)