There is a warning about logs containing privacy-sensitive information. However, it is only printed when at least one debug log category is enabled.
This is confusing, because:
- Setting (let’s say)
-debug=reindexenables this warning, but it is hard to see what sensitive logs could be contained in reindex debug logs. - Dropping
-debug=reindexagain disabled this warning, but the wallet continues to log txids (and other sensitive stuff) at info level.
So instead of implying the wrong thing, it would be better to remove this log line (because it should be common sense), or log it unconditionally.