Skip to content

Logging cleanup

  • Move special cases from LOG_CATEGORIES_BY_STR to GetLogCategory() (suggested here).

  • Remove "none" and "0" from RPC logging help 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.

Merge request reports

Loading