fix(tvix/castore/blob/object_store): tweak log levels

Don't log with info! here, bug debug!.

Change-Id: I57bd5f2a45276090b893a4051fd175e3948ddfa4
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11438
Reviewed-by: Connor Brewster <cbrewster@hey.com>
Tested-by: BuildkiteCI
Autosubmit: flokli <flokli@flokli.de>
This commit is contained in:
Florian Klink 2024-04-14 17:03:32 +03:00 committed by clbot
parent 9dc621cd95
commit c936c1c042

View file

@ -14,7 +14,7 @@ use prost::Message;
use tokio::io::{AsyncRead, AsyncWrite, AsyncWriteExt};
use tokio_stream::StreamExt;
use tonic::async_trait;
use tracing::{debug, info, instrument, trace, Level};
use tracing::{debug, instrument, trace, Level};
use url::Url;
use crate::{
@ -325,7 +325,7 @@ async fn upload_chunk(
match object_store.head(&chunk_path).await {
// chunk already exists, nothing to do
Ok(_) => {
info!("chunk already exists");
debug!("chunk already exists");
}
// chunk does not yet exist, compress and upload.
@ -333,7 +333,7 @@ async fn upload_chunk(
let chunk_data_compressed =
zstd::encode_all(Cursor::new(chunk_data), zstd::DEFAULT_COMPRESSION_LEVEL)?;
info!(chunk.compressed_size=%chunk_data_compressed.len(), "uploading chunk");
debug!(chunk.compressed_size=%chunk_data_compressed.len(), "uploading chunk");
object_store
.as_ref()