-
Notifications
You must be signed in to change notification settings - Fork 38
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
Reduce the verbosity of eth2network #1597
Conversation
WalkthroughThe changes primarily focus on adjusting the verbosity level of log outputs in various functions across the Changes
TipsChat with CodeRabbit Bot (
|
e897e27
to
db2f4c9
Compare
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.
lgtm, comment suggestion
@@ -390,6 +390,7 @@ func (n *Impl) gethStartNode(executionPort, networkPort, httpPort, wsPort int, d | |||
"--allow-insecure-unlock", // allows to use personal accounts over http/ws | |||
"--nodiscover", // don't try and discover peers | |||
"--ipcdisable", // avoid geth erroring bc the ipc path is too long | |||
"--verbosity", "1", |
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.
I'm guessing this is ERROR level too but worth adding comment next to it to say what '1' means probably
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.
Review Status
Actionable comments generated: 0
Files selected for processing (1)
- integration/eth2network/eth2_network.go (3 hunks)
Additional comments (Suppressed): 3
integration/eth2network/eth2_network.go (3)
393-393: The verbosity level for the
gethStartNode
function has been reduced to "1". This will limit the logs to only show important messages. Ensure that this does not hide any crucial information needed for debugging or monitoring.442-442: The verbosity level for the
prysmStartBeaconNode
function has been changed from "debug" to "error". This will significantly reduce the amount of log output, but it may also hide useful debugging information. Verify that this change does not impact the ability to troubleshoot issues.467-467: A new verbosity level "error" has been added to the
prysmStartValidator
function. This will limit the logs to only show error messages. Ensure that this does not hide any crucial information needed for debugging or monitoring.
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.
Review Status
Actionable comments generated: 0
Files selected for processing (1)
- integration/eth2network/eth2_network.go (3 hunks)
Files skipped from review due to trivial changes (1)
- integration/eth2network/eth2_network.go
Why this change is needed
https://github.com/obscuronet/obscuro-internal/issues/2281
Reduces the eth2 network logs to error
What changes were made as part of this PR
Please provide a high level list of the changes made
PR checks pre-merging
Please indicate below by ticking the checkbox that you have read and performed the required
PR checks