From e35ec83c0cc1b2b53ce31eadc9336075c71be058 Mon Sep 17 00:00:00 2001 From: Charlotte Som Date: Mon, 2 Dec 2024 10:52:27 +0000 Subject: [PATCH] clean up this log output constant listening spam is so noisy (because we keep getting UnexpectedEOFs) --- src/relay/index.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/relay/index.rs b/src/relay/index.rs index 9747b96..d058440 100644 --- a/src/relay/index.rs +++ b/src/relay/index.rs @@ -398,6 +398,7 @@ async fn host_subscription(server: Arc, host: String) -> Result<()> let mut subscription = DataServerSubscription::new(server, host); subscription.load_cursor()?; + tracing::debug!(seq = ?subscription.last_seq, "starting subscription"); 'reconnect: loop { let mut ws = create_ws_client( @@ -412,7 +413,7 @@ async fn host_subscription(server: Arc, host: String) -> Result<()> ), ) .await?; - tracing::debug!(seq = ?subscription.last_seq, "listening"); + tracing::trace!(seq = ?subscription.last_seq, "connected to subscribeRepos"); loop { match ws.read_frame().await {