From 08b1afeb726249fd1b0c9dab86a175218ab8a063 Mon Sep 17 00:00:00 2001 From: Dominik Werder Date: Mon, 9 Dec 2024 23:01:45 +0100 Subject: [PATCH] Reduce log --- src/binning/timeweight/timeweight_bins.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/binning/timeweight/timeweight_bins.rs b/src/binning/timeweight/timeweight_bins.rs index e56462d..e3d25cd 100644 --- a/src/binning/timeweight/timeweight_bins.rs +++ b/src/binning/timeweight/timeweight_bins.rs @@ -13,7 +13,7 @@ use std::any; macro_rules! trace_init { ($($arg:tt)*) => ( if true { trace!($($arg)*); }) } -macro_rules! trace_ingest_bin { ($($arg:tt)*) => ( if true { trace!($($arg)*); }) } +macro_rules! trace_ingest_bin { ($($arg:tt)*) => ( if false { trace!($($arg)*); }) } #[derive(Debug, thiserror::Error)] #[cstm(name = "BinBinsTimeweight")] @@ -103,7 +103,7 @@ where fn ingest_bins(&mut self, bins: &ContainerBins) -> Result<(), BinningggError> { for (((((((&ts1, &ts2), &cnt), min), max), agg), lst), &fnl) in bins.zip_iter() { let grid = self.range.bin_len_dt_ns(); - trace_ingest_bin!("grid {:?} ts1 {:?} agg {:?}", grid, ts1, agg); + trace_ingest_bin!("ingest_bins grid {:?} ts1 {:?} agg {:?}", grid, ts1, agg); if ts1 < self.active_beg { self.lst = Some(lst.into()); } else {