-
Notifications
You must be signed in to change notification settings - Fork 20.2k
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
Support environment variable to hide broadcasted raw transactions. #30717
Comments
Hadn't considered it before, but yes, I agree that we should not log this by default. However, it is extremely useful to see the address of a contract about to be created, particularly in dev-mode when debugging. Open to suggestions for how to both provide nice UX and be a bit less leaky-to-logs. I think using envvars sound a bit too clunky. |
I think you can try to do a |
@MariusVanDerWijden It would be hard to check if the logs are on or off programmatically ( Also integrating IPC connection are not easy ). Would it be possible to support it on config or command line options? |
Right, so @MariusVanDerWijden 's suggestion would work. Should be something like EDIT: This is wrong |
Sorry, but that's not how it works. The vmodule pkg-specfic log filter works like this:
So, if the global log level ( Tangentially, the |
Hello.
Since I have no kind of fetish or voyeurism of spying broadcasted raw transactions though local node it would be great if we have any kind of ENV variable or command line option to not list those on local console output.
I thought about disabling console logs but since I need info about peer connections or imported blocks it wouldn't be possible to hide the log about txid without hiding all those info.
I know that it would be best to run a local node but since nodes require decent connections have no choice but to host them on remote location.
But I don't want to store those info about broadcasted transactions since I am not a fed, biden or macron.
I mean, it would be like 2~3 additional lines to https://github.com/ethereum/go-ethereum/blob/master/internal/ethapi/api.go#L1570 which should hide those logs right?
The text was updated successfully, but these errors were encountered: