decred / dcrlnd

Decred Lightning Network Daemon ⚡️
MIT License
36 stars 24 forks source link

peer: Use a dedicated ping logger #210

Closed matheusd closed 6 months ago

matheusd commented 6 months ago

This switches the peer to log ping/pong messages using a separate logger with a dedicated subsystem tag. This is useful when running in debug mode for extended periods of time, as ping messages are generally useless but repeat constantly, needlessly growing the size of log files and making debug harder.