scripted-diff: Use LogInfo over LogPrintf#29641
Conversation
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. Code Coverage & BenchmarksFor details see: https://corecheck.dev/bitcoin/bitcoin/pulls/29641. ReviewsSee the guideline for information on the review process.
If your review is incorrectly listed, please copy-paste ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
|
concept ACK fae5751 |
|
I noticed that there are helper functions such as the following using the
Using this grep these might want to be addressed in a separate PR though |
fanquake
left a comment
There was a problem hiding this comment.
ACK 317b71bcd2e552f93ac2131b16a8acab414567dd - I think the conflicts here are small, and a number are themselves draft / WIP.
|
Is this ready for review now? |
This refactor does not change behavior. -BEGIN VERIFY SCRIPT- sed --in-place 's/\<LogPrintf\>/LogInfo/g' \ $( git grep -l '\<LogPrintf\>' -- ./contrib/ ./src/ ./test/ ':(exclude)src/logging.h' ) -END VERIFY SCRIPT-
stickies-v
left a comment
There was a problem hiding this comment.
ACK fa4395d
nit: would be nice to update the scripted-diff to also remove trailing newlines if that's not a huge pita
|
ACK fa4395d |
rkrux
left a comment
There was a problem hiding this comment.
lgtm ACK fa4395d
Thanks for the cleanup, best to remove the deprecated LogPrintf alias.
It wastes review cycles, because reviewers sometimes point out that it is deprecated.
I reviewed #34008 where exactly this^ happened: #34008 (comment)
Thx, I can take a look, if I have to re-touch. |
LogPrintfhas many issues:LogInfo, according to the dev notes.Fix all issues by removing the deprecated alias.