Update logging in channel and channelmanager to better levels
authorMatt Corallo <git@bluematt.me>
Tue, 22 Jun 2021 03:35:52 +0000 (03:35 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 29 Jun 2021 19:36:47 +0000 (19:36 +0000)
commit7eff56b12f1f9cccb80e7b8b8efc69e569f89985
tree2b847e905a6104aa86080d1d2aab2e912cb04f81
parent1f592b045fb6b2788c595e573412aa93f3ebc850
Update logging in channel and channelmanager to better levels

This updates a number of log sites in channel and channelmanager to
 * Be a bit more verbose at the TRACE level,
 * Move some error/useful messages to the ERROR/WARN/INFO level,
 * Add new logs to always log once at the DEBUG level when we
   send/receive a commitment_signed (with some extra data),
 * Include the channel id being operated on in more log messages.
lightning/src/ln/channel.rs
lightning/src/ln/channelmanager.rs
lightning/src/ln/functional_tests.rs