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
Switch from go-logging to logrus #961
Conversation
OLD log file, shows the broker logs using go-logging and the logs from bundle-lib which use logrus |
logrus at INFO level only, no color |
|
You are a hero. |
logrus at DEBUG level for BOTH broker and bundle-lib, no color |
logrus with color (NOTE: I disabled this because the formatting needs work)COLOR output in terminalRAW log file |
|
@mhrivnak meant to put you on this as a reviewer |
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 tested the changes with some basic broker actions, and everything worked as expected. Thanks!
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.
🙏 THANK YOU!
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!


Switching from go-logging to use logrus which will match
bundle-lib and make our logs a bit more consistent. The one things that doesn't quite work is color log output.
Broker config remains the same except that the color value will be ignored for now because of the formatting from logrus.
See the comment below to see what I mean.