htlcswitch: log link message with channel point

In lnd, log messages about channels are generally logged with a
reference to their channel point rather than the short channel id.
Channel point is reorg-resistant and also easier to look up in for
example a block explorer.

In the link however, all log messages are accompanied by short channel
id. This makes it difficult to grep a log for all channel activity. The
PEER message for example which are often crucial to analyse, are logged
with channel points.

This commit modifies the link logging to also use channel points.
This commit is contained in:
Joost Jager committed 2021-08-16 08:24:35 +02:00
1 parent 5499a35987
commit 09386213be
3 files changed
+28 -26

No files matched your search

@@ -114,6 +114,8 @@ you.
* [Missing dots in cmd interface](https://github.com/lightningnetwork/lnd/pull/5535).
* [Link channel point logging](https://github.com/lightningnetwork/lnd/pull/5508)
## Database
* [Ensure single writer for legacy