Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove debug log noise from event_monitor #3373

Merged
merged 1 commit into from
May 29, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions crates/relayer/src/event/monitor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ impl EventMonitor {
fn process_batch(&mut self, batch: EventBatch) {
telemetry!(ws_events, &batch.chain_id, batch.events.len() as u64);

debug!(chain = %batch.chain_id, len = %batch.events.len(), "emitting batch");
trace!(chain = %batch.chain_id, len = %batch.events.len(), "emitting batch");

self.event_bus.broadcast(Arc::new(Ok(batch)));
}
Expand All @@ -478,7 +478,7 @@ fn stream_batches(
// Collect IBC events from each RPC event
let events = subscriptions
.map_ok(move |rpc_event| {
debug!(chain = %id, "received an RPC event: {}", rpc_event.query);
trace!(chain = %id, "received an RPC event: {}", rpc_event.query);
collect_events(&id, rpc_event)
})
.map_err(Error::canceled_or_generic)
Expand All @@ -496,7 +496,7 @@ fn stream_batches(

sort_events(&mut events_with_heights);

debug!(chain = %chain_id, len = %events_with_heights.len(), "assembled batch");
trace!(chain = %chain_id, len = %events_with_heights.len(), "assembled batch");

EventBatch {
height,
Expand Down