From 05a883297f76109fad9dc6060df589ecb6c1d430 Mon Sep 17 00:00:00 2001 From: Thomas Eizinger Date: Tue, 16 Nov 2021 17:43:30 +1100 Subject: [PATCH] Prettify log message for sending message --- daemon/src/send_to_socket.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/src/send_to_socket.rs b/daemon/src/send_to_socket.rs index 765fb29..3fc899f 100644 --- a/daemon/src/send_to_socket.rs +++ b/daemon/src/send_to_socket.rs @@ -33,7 +33,7 @@ where async fn handle(&mut self, message: T, ctx: &mut xtra::Context) { let message_name = message.to_string(); // send consumes the message, avoid a clone just in case it errors by getting the name here - tracing::trace!(%message_name, "send to socket message"); + tracing::trace!("Sending '{}'", message_name); if let Err(e) = self.write.send(message).await { tracing::error!("Failed to write message {} to socket: {}", message_name, e);