Drop some "Channel does not qualify for a feerate change" logs
authorMatt Corallo <git@bluematt.me>
Tue, 13 Feb 2024 23:00:38 +0000 (23:00 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 13 Feb 2024 23:06:48 +0000 (23:06 +0000)
commitaab5b102e47a46a57569606328f880fa1f91e597
tree0c1e9a9f9da3f44a185c0f12ff175059a00d6ae7
parent96b141c5038b11e51697f09d2571aef858087a7f
Drop some "Channel does not qualify for a feerate change" logs

On a high-traffic/channel node, `Channel .* does not qualify for a
feerate change.*` is our most common log, and it doesn't provide
much useful information. It's logged in two cases - (a) where the
estimator feerate is less than the current channel feerate but not
by more than half twice and (b) where we'd like to update the
channel feerate but the peer is disconnected or channel not
available for updates.

Because these conditions can persist and we log them once a minute
the volume of logs can add up quickly. Here we simply remove the
log in case (a), though leave (b) as its anticipated to be somewhat
quieter and does indicate a persistent issue that should be
addressed (possibly by closing the channel).
lightning/src/ln/channelmanager.rs