Co-authored-by: Vasil Dimov <vd@FreeBSD.org>
This is a backport of [[https://github.com/bitcoin/bitcoin/pull/29833 | core#29833]]
Bypasses a one line change from [[https://github.com/bitcoin/bitcoin/pull/25355 | core#25355]] that replaces a `LogPrintfCategory` by a `Log`. Removing that call to `LogPrintfCategory` allows to remove the macro after [[https://github.com/bitcoin/bitcoin/pull/28318 | core#28318]].