-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[skip changelog] chore: logging: switch runtime Print() spots to use the logger #12311
Conversation
cc @rvagg for this one I suppose |
563269d
to
940bf15
Compare
You've made this more controversial than it should be and playing divide and conquer among maintainers is not appreciated. Please revert the changes entirely in chain/consensus/filcns/upgrades.go and if you really feel strongly enough to bikeshed about a stdout print that's already gated by a tty check then feel free to open a separate PR. The other change is reasonable. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove chain/consensus/filcns/upgrades.go changes
n.b. there are others
940bf15
to
f0292c8
Compare
@rvagg: I hear what you are saying and I call bullshit.
I do not need to tell you how this looks from the outside, for a supposedly-open project to "accept" free, obviously correct contributions like this. Your mandate is to be stewards, not gatekeepers. Saying "thank you" to contributions is optional. Removing obstructions is not. in closing: the splash-to-stdout-instead-of-logging-system is still a problem. I am not fixing this one as per request. I hope one of @rvagg @masih @ZenGround0 will. |
As per @masih:
I don't read his text or @ZenGround0's 👍 as a vote for your original change but for removing the splash entirely. That key misunderstanding - either yours or mine - is why I'm asking this to be scaled back because this is not worth anyone's time doing here, for the sake of a splash, that's gated by a tty check and doesn't touch the logs, yet your change makes 36 lines of ascii art go into everyone's logs: https://github.com/filecoin-project/lotus/blob/4cc7061c8f7084a89062b21eafecffea896b1f34/chain/consensus/filcns/UpgradeSplash.txt |
Proposed Changes
While examining a fullsync log noticed that the actor bundle loader prints directly to STDOUT. Grepping briefly through the codebase uncovered only 2 spots like that, so fix them both.