From a04adbcac1bfa371e82d61f8fd5a44ea0f6ddc44 Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Fri, 24 Jun 2022 09:27:22 +0200 Subject: [PATCH] Don't trace message payload --- crates/collab/src/rpc.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/collab/src/rpc.rs b/crates/collab/src/rpc.rs index 9cbf2577e3..7e16d57c4c 100644 --- a/crates/collab/src/rpc.rs +++ b/crates/collab/src/rpc.rs @@ -228,8 +228,8 @@ impl Server { ); span.in_scope(|| { tracing::info!( - payload = format!("{:?}", envelope.payload).as_str(), - "message payload" + payload_type = envelope.payload_type_name(), + "message received" ); }); let future = (handler)(server, *envelope);