Logging cleanup
-
Move special cases from
LOG_CATEGORIES_BY_STRtoGetLogCategory()(suggested here). -
Remove
"none"and"0"from RPClogginghelp because that help text was wrong."none"resulted in an error and"0"was ignored itself (contrary to what the help text suggested). -
Remove unused
LOG_CATEGORIES_BY_STR[""](suggested here).
This is a followup to https://github.com/bitcoin/bitcoin/pull/29419, addressing leftover suggestions + more.