From e77cb2c2b1f3d8ea86a83637af2bad527315aa6b Mon Sep 17 00:00:00 2001 From: avbel Date: Fri, 24 May 2024 21:38:06 +0400 Subject: [PATCH] More log output --- rust/processor/src/processors/mercato_processor.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rust/processor/src/processors/mercato_processor.rs b/rust/processor/src/processors/mercato_processor.rs index a4d8e5771..c969717ba 100644 --- a/rust/processor/src/processors/mercato_processor.rs +++ b/rust/processor/src/processors/mercato_processor.rs @@ -225,14 +225,15 @@ impl ProcessorTrait for MercatoProcessor { } } - let message = format!("Processing new {} transactions", filtered_transactions.len()); tracing::info!( name = self.name(), start_version = start_version, end_version = end_version, - message, + "Processing new transactions", ); + println!("Processing new {} transactions", filtered_transactions.len()); + let processing_start = std::time::Instant::now(); let last_transaction_timestamp = filtered_transactions.last().unwrap().timestamp.clone();