Skip to content

Commit

Permalink
More log output
Browse files Browse the repository at this point in the history
  • Loading branch information
avbel committed May 24, 2024
1 parent 97afcbb commit e77cb2c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions rust/processor/src/processors/mercato_processor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit e77cb2c

Please sign in to comment.