From cdeb6f5ef6863fdd7d00b09ba778f80e19638a9d Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Fri, 9 Jan 2026 23:49:46 +0000 Subject: fix: reduce duplicate NOTICE logging Change relay NOTICE logging from DEBUG to TRACE level to avoid duplicate logs (nostr-sdk already logs all NOTICEs at DEBUG level). Negentropy-specific NOTICEs remain at INFO level as they indicate important NIP-77 support information. --- src/sync/mod.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/sync') diff --git a/src/sync/mod.rs b/src/sync/mod.rs index 4b2b61c..2efcbd7 100644 --- a/src/sync/mod.rs +++ b/src/sync/mod.rs @@ -1649,7 +1649,9 @@ impl SyncManager { metrics.record_health_state(&relay_url_clone, state); } } else { - tracing::debug!( + // Log at TRACE level to avoid duplicate with nostr_relay_pool's DEBUG log + // (nostr-sdk already logs all NOTICE messages at DEBUG level) + tracing::trace!( relay = %relay_url_clone, notice = %notice, "Relay issued notice" -- cgit v1.2.3