Page MenuHomePhabricator

log: sort logging categories alphabetically
ClosedPublic

Authored by PiRK on Sep 23 2022, 07:33.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABCbce24f31f595: log: sort logging categories alphabetically
Summary

Sorting the logging categories seems more user-friendly with the number of categories we now have, allowing CLI users to more quickly find a particular category.

This is a backport of core#22530

Test Plan
ninja all check-all

src/bitcoind -h | grep -A8 "debug=<category>"
src/bitcoind -daemon && sleep 10 && src/bitcoin-cli logging [] '["addrman"]' && src/bitcoin-cli stop