Skip to content

Commit

Permalink
Add the number of events received in debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
vruello committed Oct 26, 2024
1 parent 780e8d2 commit b05a875
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/src/logic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,8 @@ async fn handle_events(
}

debug!(
"Received Events from {}:{} ({}) for subscription {} ({})",
"Received {} events from {}:{} ({}) for subscription {} ({})",
events.len(),
request_data.remote_addr().ip(),
request_data.remote_addr().port(),
request_data.principal(),
Expand Down

0 comments on commit b05a875

Please sign in to comment.