First since the logs will be much larger, consider increasing journalctl limits
The following lines need to be changed:
~cln/.lightning/testnet-config
:
log-level=debug
~cln/.lightning/testnet-setenv
:
RUST_LOG=debug
~vls/.lightning-signer/vlsd2.toml
:
log-level = "debug"
The log filter script can be used to filter logs for information about specific channels.
Using journalctl:
journalctl \
--since 12:00 \
--output=short-full | \
logfilter \
--all \
--funding=1f7a9acb92aa7b35f9758412b9bbd019f2d427e18e5911801ef289675e8caee1:0 \
--dbid=47 \
--channelid=02146e28a3d43205b99d93c758b18d302be0086655d5a23e9bea9a6509da907dbd2a00000000000000 \
--watches
Using historical rolled (and compressed) logfiles:
logcat remote_hsmd_socket.log | \
logfilter \
--proxy \
--dbid=47