Ensure we log private channel_updates at a non-GOSSIP log level 2022-08-log-chan_update
authorMatt Corallo <git@bluematt.me>
Mon, 5 Sep 2022 16:28:11 +0000 (16:28 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 6 Sep 2022 17:49:40 +0000 (17:49 +0000)
commit602cf5c12bb4ff7ea28291e4d6a7be770b8863d8
tree94da36d9989a50308f21ee7200b88d1778de4b5c
parent36bffb56e8b738ca5ccb7056594e956fddc02573
Ensure we log private channel_updates at a non-GOSSIP log level

If we receive a channel_update for one of our private channels, we
will not log the message at the usual TRACE log level as the
message falls into the gossip range. However, for our own channels
they aren't *just* gossip, as we store that info and it changes
how we generate invoices. Thus, we add a log in `ChannelManager`
here at the DEBUG log level.
lightning/src/ln/channelmanager.rs