-
Notifications
You must be signed in to change notification settings - Fork 136
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
feat: make info log default level in most cases #1000
Conversation
d69bf14
to
1dad12b
Compare
Seems like it's also worth implementing the fix for #938 in this pr |
@njgheorghita ok I will change utp to error cause that is the only thing we can do on Trin side. I think that issue is mostly for modifying logs in the uTP repo itself |
f60be59
to
c1a5292
Compare
Ok I pushed a change, changing uTP related ones to debug as I don't think those logs fit within the guidelines for a trace log. I did leave 2 warns if sending a talk_req over discv5 failed as those logs aren't uTP issues technically. |
While we're improving these logs... could you also update this log...
IMO all it should show is the decoded enr at the |
Ok change pushed |
2d2aa4e
to
969eaa0
Compare
Nick told me how he wanted the |
969eaa0
to
53606db
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.
#1000 🥳 🚢
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.
#💯0
wording on debug logs looks good
👍
1000 pull requests! |
What was wrong?
fixes #940
How was it fixed?
by adding info as the default log level. Then setting discv5 to Error cause it is super noisy.
https://stackoverflow.com/a/67310139 < apparently log level hierarchy is in order of
error
>warn
>info
>debug
>trace
. So by enabling info we are also enabling warn.^ This is an example of what it looks like