Open jonasnick opened 5 years ago
All attempted forwards are recorded in the database whether they succeed or not. You can configure the autoclean
plugin to delete the records of forwards after a certain amount of time. See the section headed "Cleanup control options" in man 5 lightningd-config
.
If you have debug logging enabled, then your log file will also contain information about forwards. You might be able to raise the log level selectively to exclude messages about forwards or consider raising the log level globally to unusual
to eliminate most routine information from your logs.
Lastly, if you want to eliminate all log messages even from memory, you can apply my no-memlog
patch to your CLN sources and recompile.
I would like to run a node that doesn’t spy on my neighbors’ payments. What information is currently logged about HTLC forwards (preimages? amount?) Can I turn that off?