From 3ae113212af3ee43f36383a22984e03e3f44f3f2 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sat, 27 Jul 2024 07:03:52 +0100 Subject: [PATCH] fix: don't log content of internal messages --- crates/server-actor/src/lib.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/crates/server-actor/src/lib.rs b/crates/server-actor/src/lib.rs index d90f1783..fbaca2c5 100644 --- a/crates/server-actor/src/lib.rs +++ b/crates/server-actor/src/lib.rs @@ -231,10 +231,8 @@ impl ServerActor { Self: actix::Handler, ::Result: Send, { - tracing::info!(?msg, "send"); if let Some(message_log) = &self.message_log { let log_message = format!("send: {:?}", msg); - tracing::debug!(log_message); if let Ok(mut log) = message_log.write() { log.push(log_message); }