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.
This commit is contained in:
DanConwayDev
2026-01-09 23:49:46 +00:00
parent 215d4d5131
commit cdeb6f5ef6
+3 -1
View File
@@ -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"