about summary refs log tree commit diff
path: root/tvix/castore/src/import.rs
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-02-17T09·31+0700
committerflokli <flokli@flokli.de>2024-02-18T07·12+0000
commit28f5c13c53110afaed48d5e20c371c125d999421 (patch)
tree78eba7daf16c0fed1e22651967aeb4b938c2f2bd /tvix/castore/src/import.rs
parent8253d91eaa4cedf4463cd85e9346a4186de6fbdf (diff)
fix(tvix/castore): don't emit ret as INFO r/7547
This otherwise gets a bit spammy.

Change-Id: I288350a600d79a394c239f253424ad55bc3cefc5
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10954
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'tvix/castore/src/import.rs')
-rw-r--r--tvix/castore/src/import.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/tvix/castore/src/import.rs b/tvix/castore/src/import.rs
index f7677e63142d..3ba6087efc29 100644
--- a/tvix/castore/src/import.rs
+++ b/tvix/castore/src/import.rs
@@ -11,6 +11,7 @@ use async_stream::stream;
 use futures::pin_mut;
 use futures::Stream;
 use std::fs::FileType;
+use tracing::Level;
 
 #[cfg(target_family = "unix")]
 use std::os::unix::ffi::OsStrExt;
@@ -297,7 +298,7 @@ impl MerkleInvariantChecker {
 /// Ingests elements from the given stream of [`DirEntry`] into a the passed [`BlobService`] and
 /// [`DirectoryService`].
 /// It does not follow symlinks at the root, they will be ingested as actual symlinks.
-#[instrument(skip_all, ret, err)]
+#[instrument(skip_all, ret(level = Level::TRACE), err)]
 pub async fn ingest_entries<'a, BS, DS, S>(
     blob_service: BS,
     directory_service: DS,