]> git.bitcoin.ninja Git - rust-lightning/commit
Do not log_debug when we receive duplicate gossip messages
authorMatt Corallo <git@bluematt.me>
Tue, 22 Jun 2021 01:33:44 +0000 (01:33 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 29 Jun 2021 19:36:47 +0000 (19:36 +0000)
commit1f592b045fb6b2788c595e573412aa93f3ebc850
treebe66ee4b5d4545e579a37427ccb907d924985c9d
parent7fa6a7d48e5cec139481ceee95baadb2cf06486e
Do not log_debug when we receive duplicate gossip messages

We very often receive duplicate gossip messages, which now causes us
to log at the DEBUG level, which is almost certainly not what a
user wants. Instead, we add a new form of ErrorAction which causes
us to only log at the TRACE level.
lightning/src/ln/msgs.rs
lightning/src/ln/peer_handler.rs
lightning/src/routing/network_graph.rs