-
Notifications
You must be signed in to change notification settings - Fork 721
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
startup logging #3380
startup logging #3380
Conversation
coot
commented
Nov 22, 2021
•
edited
Loading
edited
- Added StartupTracer
- Use StartupTracer to log start time and db validation startup
- Added a todo
196f71d
to
84635d3
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.
Looks good to me, thank you @coot !
84635d3
to
f914dcf
Compare
@deepfire I added proper json instances, and better pretty printing, I added proper severity levels, and I checked that it actually works. |
f914dcf
to
302cbf8
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.
b4407d1
to
9c6cd97
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
7489400
to
3bf889b
Compare
bors r+ |
This PR was included in a batch that successfully built, but then failed to merge into master. It will not be retried. Additional information: {"message":"Waiting on code owner review from DavidEichmann, dcoutts, erikd, JaredCorduan, Jimbo4350, nc6, and/or newhoggy.","documentation_url":"https://docs.github.com/articles/about-protected-branches"} |
bors r+ |
(map (\(v, bv) -> show v ++ "\t" ++ show bv) | ||
. Map.assocs | ||
$ supportedNodeToCleintVersions) | ||
] |
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.
Seems like a lot of string appends. Do we need to worry about performance?
Similarly for other code below.
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.
No, not at all; this runs once at startup.
I'm assuming both TODOs are intentional. |
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.
Left some comments. Otherwise LGTM.
Use a standard Tracer to log information when node starts.
Warn the user which development protocols were enabled with 'TestEnableDevelopmentNetworkProtocols` option.
3bf889b
to
2201fa9
Compare
Canceled. |
bors r+ |
Build succeeded: |