Skip to content

Commit

Permalink
Log server events
Browse files Browse the repository at this point in the history
  • Loading branch information
htrefil committed May 13, 2023
1 parent a76e3ac commit e426d94
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions rkvm-server/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,13 @@ pub async fn run(

if idx == 0 {
manager.write(&events).await.map_err(Error::Input)?;

log::trace!(
"Wrote {} event{}",
events.len(),
if events.len() == 1 { "" } else { "s" }
);

continue;
}

Expand Down

0 comments on commit e426d94

Please sign in to comment.