From 7d5397c151ff4f81b29d510e3da473a5dcd3a651 Mon Sep 17 00:00:00 2001 From: Felix Leupold Date: Fri, 1 Dec 2023 10:00:21 +0100 Subject: [PATCH] [Trivial] Do not log full auction (#2088) # Description This log is creating issues with Kibana ([context](https://cowservices.slack.com/archives/C036PMLUPQF/p1701088972191479)). Moreover it is redundant (printed once per driver) and the same information can be recovered from the autopilot who also logs the current auction. --- crates/driver/src/infra/observe/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/driver/src/infra/observe/mod.rs b/crates/driver/src/infra/observe/mod.rs index 03114165e4..53b80c77f3 100644 --- a/crates/driver/src/infra/observe/mod.rs +++ b/crates/driver/src/infra/observe/mod.rs @@ -40,7 +40,7 @@ pub fn init(log: &str) { /// Observe a received auction. pub fn auction(auction: &Auction) { - tracing::debug!(?auction, "received auction"); + tracing::debug!(id=?auction.id(), "received auction"); } /// Observe that liquidity fetching is about to start.