about summary refs log tree commit diff
path: root/tvix/castore/src
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-04-14T14·03+0300
committerclbot <clbot@tvl.fyi>2024-04-15T19·32+0000
commitc936c1c042fc82d04cd5a70819fc10ce5da1bc0a (patch)
tree75320ac6d5600b3f3c927dc454c9d84a2c3af4ca /tvix/castore/src
parent9dc621cd95d0263f66f32005501a83e0d6bf7c03 (diff)
fix(tvix/castore/blob/object_store): tweak log levels r/7936
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>
Diffstat (limited to 'tvix/castore/src')
-rw-r--r--tvix/castore/src/blobservice/object_store.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/tvix/castore/src/blobservice/object_store.rs b/tvix/castore/src/blobservice/object_store.rs
index c2e54e15df79..0a9bd85e98e5 100644
--- a/tvix/castore/src/blobservice/object_store.rs
+++ b/tvix/castore/src/blobservice/object_store.rs
@@ -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()