Implement filter for logger
tool
#48
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
The logger tool is quite spammy currently as it prints all events (p2p message, connections, addrman (if enabled), validation, and mempool). It would be good to have a feature where we can pass a command line argument to enable only the desired event types. E.g. passing
--log-p2pmsgs
would only log p2p messages. Passing--log-p2pmsgs --log-connections
would log p2p messages and p2p connections.The text was updated successfully, but these errors were encountered: