From 7877788510c4fcff564d30e92a7ba4c2da1f467a Mon Sep 17 00:00:00 2001 From: Louis Dureuil Date: Thu, 8 Feb 2024 17:37:15 +0100 Subject: [PATCH] fix logs --- milli/src/update/facet/bulk.rs | 2 +- milli/src/update/facet/incremental.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/milli/src/update/facet/bulk.rs b/milli/src/update/facet/bulk.rs index 8771cb6fe..888b1c4eb 100644 --- a/milli/src/update/facet/bulk.rs +++ b/milli/src/update/facet/bulk.rs @@ -66,7 +66,7 @@ impl<'i> FacetsUpdateBulk<'i> { } } - #[logging_timer::time("FacetsUpdateBulk::{}")] + #[tracing::instrument(level = "trace", skip_all, target = "indexing::facets::bulk")] pub fn execute(self, wtxn: &mut heed::RwTxn) -> Result<()> { let Self { index, field_ids, group_size, min_level_size, facet_type, delta_data } = self; diff --git a/milli/src/update/facet/incremental.rs b/milli/src/update/facet/incremental.rs index 722ccb1cb..a28aa5a47 100644 --- a/milli/src/update/facet/incremental.rs +++ b/milli/src/update/facet/incremental.rs @@ -63,7 +63,7 @@ impl FacetsUpdateIncremental { } } - #[logging_timer::time("FacetsUpdateIncremental::{}")] + #[tracing::instrument(level = "trace", skip_all, target = "indexing::facets::incremental")] pub fn execute(self, wtxn: &mut RwTxn) -> crate::Result<()> { let mut iter = self.delta_data.into_stream_merger_iter()?;