Browse Source

Don't log entire order to avoid log spam

new-http-api
Thomas Eizinger 3 years ago
parent
commit
49d4665fa9
No known key found for this signature in database GPG Key ID: 651AC83A6C6C8B96
  1. 2
      daemon/src/maker_inc_connections.rs

2
daemon/src/maker_inc_connections.rs

@ -165,7 +165,7 @@ impl Actor {
tracing::trace!(%taker_id, "removing outdated connection to taker because unable to send order: {:?}", order);
self.write_connections.remove(&taker_id);
} else {
tracing::trace!(%taker_id, "sent new order: {:?}", order);
tracing::trace!(%taker_id, "sent new order: {:?}", order.as_ref().map(|o| o.id));
}
}
Ok(())

Loading…
Cancel
Save