mirror of
https://relay.ngit.dev/npub15qydau2hjma6ngxkl2cyar74wzyjshvl65za5k5rl69264ar2exs5cyejr/ngit-grasp.git
synced 2026-10-06 07:28:23 +00:00
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:
+3
-1
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user