-
Notifications
You must be signed in to change notification settings - Fork 75
[ETCM-273] Change logging behaviour and increase handshake timeout to… #758
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,9 +56,9 @@ | |
<appender-ref ref="METRICS" /> | ||
</root> | ||
|
||
<logger name="io.iohk.ethereum.network.rlpx.RLPxConnectionHandler" level="INFO" /> | ||
<logger name="io.iohk.ethereum.network.rlpx.RLPxConnectionHandler" level="DEBUG" /> | ||
<logger name="io.iohk.ethereum.blockchain.sync.SyncController" level="INFO" /> | ||
<logger name="io.iohk.ethereum.network.PeerActor" level="INFO" /> | ||
<logger name="io.iohk.ethereum.network.PeerActor" level="DEBUG" /> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We also have some bothering logs of all the messages sent, should we remove them? Wdyt @mirkoAlic @mmrozek ? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we should re-think our log polices, IMHO:
By following those definitions, i think our issue is that PeerActor or network in general is no logging relevant information at There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I agree, but I think the only thing that we can do about this for now is pay closer attention to the logs changed or added on new PRs (till maybe someone starts using Mantis and complains about something like that). We should probably better define what a client would like to see 🤔 Back to the question at hand, I don't see the logs of all the messages sent/received to be so useful (we haven't required them till now), or at least we should keep them in a single line for those that don't use the JSON formatting (I don't do so locally) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I agree with @ntallar. I don't remember when we needed logs from PeerActor and when we will be sure after merge that node doesn't receive any message we won't need it anymore also ;) |
||
<logger name="io.iohk.ethereum.vm.VM" level="OFF" /> | ||
|
||
</configuration> |
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.
Should we enable this permanently and remove this lines? (as we are setting the DEBUG option above)
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 think it should be a temporary change only. When we will have more peers we will be flooded by logs from there
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 not sure how temporal this will be 🤔 we still have this sort of logging on the other project