upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/sync/mod.rs
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2026-01-09 23:49:46 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2026-01-09 23:49:46 +0000
commitcdeb6f5ef6863fdd7d00b09ba778f80e19638a9d (patch)
tree367623dee32f6b93e8a0bcf4e8aa58b86a6c61d2 /src/sync/mod.rs
parent215d4d51310545a7be95582e14cc28a7958ad6e3 (diff)
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.
Diffstat (limited to 'src/sync/mod.rs')
-rw-r--r--src/sync/mod.rs4
1 files changed, 3 insertions, 1 deletions
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 {
1649 metrics.record_health_state(&relay_url_clone, state); 1649 metrics.record_health_state(&relay_url_clone, state);
1650 } 1650 }
1651 } else { 1651 } else {
1652 tracing::debug!( 1652 // Log at TRACE level to avoid duplicate with nostr_relay_pool's DEBUG log
1653 // (nostr-sdk already logs all NOTICE messages at DEBUG level)
1654 tracing::trace!(
1653 relay = %relay_url_clone, 1655 relay = %relay_url_clone,
1654 notice = %notice, 1656 notice = %notice,
1655 "Relay issued notice" 1657 "Relay issued notice"