-
Notifications
You must be signed in to change notification settings - Fork 101
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
log debug, optimization #406
Conversation
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.
Couple of suggestions
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.
@kuritka, looks good, just few suggestions and general questions about log improvements.
7a7a30a
to
930a93a
Compare
Amended. I also added to factory logger.Debug().
Str("Format", l.log.Format.String()).
Str("Level", l.log.Level.String()).
Msg("Logger settings") The reason I use |
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.
@kuritka , left some extra comments for affected log commands
related to #331 - resolved config and satrtegy is logged by DEBUG - merge Split brain TXT time stamp into one log.Info() message, refactor code ... feel free to come with places where log.Debug() is desirable Co-authored-by: Timofey Ilinykh <[email protected]>
@somaritane, thx for suggestions, amended |
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.
@kuritka, thanks for updates, lgtm!
P.S. There's one comment I left about gopkg ToString() JSON formatting, but I don't think it's in the scope of this PR.
linked to #331
... feel free to come with places where log.Debug() is desirable