-
Notifications
You must be signed in to change notification settings - Fork 82
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
Refactored logging in the workceptor package and the receptor-cli pac… #738
Conversation
4e10450
to
9e5c8e3
Compare
} | ||
|
||
// Trace outputs detailed packet traversal. | ||
func Trace(format string, v ...interface{}) { |
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.
🔥
955caa0
to
da751b3
Compare
@@ -19,7 +19,7 @@ require ( | |||
github.com/songgao/water v0.0.0-20200317203138-2b4b6d7c09d8 | |||
github.com/stretchr/testify v1.8.1 | |||
github.com/vishvananda/netlink v1.1.0 | |||
golang.org/x/net v0.0.0-20220630215102-69896b714898 | |||
golang.org/x/net v0.5.0 |
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.
@simaishi @rooftopcellist Do changes to these files break anything on your end? Unsure how the downstream golang builds work these days.
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.
We will need to re-create vendor tarball, but please go ahead and merge when you're ready. When a commit requires new vendor file, a pre-merge job for rpm build will fail and we'll know an update is needed.
b34b26f
to
1714b9f
Compare
…kage. Removed unneeded log functions in logger.go.
1714b9f
to
1b733d9
Compare
…kage.
Building on PR #723 , this PR follows the same logging methodology and extends it to the workceptor package. Also removed unneeded logging functions from logger.go.
Based off of Shanes PR here: #718
and the blog here: https://gogoapps.io/blog/passing-loggers-in-go-golang-logging-best-practices/#global-state