-
Notifications
You must be signed in to change notification settings - Fork 950
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
Use go-kit log.NewStdlibAdapter instead of our own adapter #587
Conversation
@rata this PR was tested ;) |
@champtar thanks! I guess the Can you please add in the commit message too how the output looked before this patch too? Other than that, LGTM. But please, if you think it makes sense too, add how the logs looked like before this patch :) |
caller is the file/line in the memberlist code yes ( |
Don't hesitate to ping me when ready :) |
crazy week, I did lot of progress on many subjects, but not on MetalLB :( |
@champtar heh, it happens to all of us. Just wanted to make sure there wasn't a deadlock (you waiting for me, me waiting for you) :) |
Old log: {"caller":"main.go:202","component":"MemberList","msg":"net.go:785: [DEBUG] memberlist: Initiating push/pull sync with: 10.11.12.13:7946","ts":"2020-04-17T00:31:37.51568936Z"} New log: {"caller":"net.go:785","component":"MemberList","msg":"[DEBUG] memberlist: Initiating push/pull sync with: 10.11.12.13:7946","ts":"2020-04-17T00:31:37.51568936Z"} "caller" now references Memberlist code Signed-off-by: Etienne Champetier <echampetier@anevia.com>
@rata done, please review and merge |
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, thanks!
New log looks like:
{"caller":"net.go:785","component":"MemberList","msg":"[DEBUG] memberlist: Initiating push/pull sync with: 10.11.12.13:7946","ts":"2020-04-17T00:31:37.51568936Z"}