-
Notifications
You must be signed in to change notification settings - Fork 333
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
refactor(xds) rename logger to have consistent naming style #2375
refactor(xds) rename logger to have consistent naming style #2375
Conversation
Signed-off-by: Aadhav Vignesh <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #2375 +/- ##
==========================================
+ Coverage 52.13% 52.54% +0.40%
==========================================
Files 874 878 +4
Lines 47826 47867 +41
==========================================
+ Hits 24936 25151 +215
+ Misses 20865 20664 -201
- Partials 2025 2052 +27
Continue to review full report at Codecov.
|
@burntcarrot I pinged slack to see if anyone depends on these names. No-one has mentioned any concerns so I'd say we are good here. Could you please update the Github tags to say "Updates #2313" rather than "fixes"? That way, the issue will remain open and we can make more PRs against it. |
Yeah, I have been keeping an eye on the Slack from quite a while, and I guess we're safe to move forward. |
I've updated it. In case anyone raises some concerns regarding the logger names in the future, we can safely issue more fixes. This would hopefully prevent any services running dependent on the logger names subject to breaking changes. @jpeach PR is ready for review, could you please take some time to review it? |
Just out of curiosity, are the changes meant to be a part of the next release, or are you trying to push the changes to be a part of a later release, allowing room for more people to raise concerns? |
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.
Nice.
I don't have a strong opinion. I'm inclined to backport this to the 1.2 branch, but I'll ask around the maintainers. |
@@ -16,7 +16,7 @@ import ( | |||
util_xds "github.com/kumahq/kuma/pkg/util/xds" | |||
) | |||
|
|||
var statusTrackerLog = core.Log.WithName("xds").WithName("statusTracker") | |||
var statusTrackerLog = core.Log.WithName("xds").WithName("status-tracker") |
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.
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.
consistent naming is good.
Any updates? I guess it's better to merge it now, in order to make it available for the next release. |
Signed-off-by: Aadhav Vignesh <[email protected]> (cherry picked from commit bdd4b2a)
Signed-off-by: Aadhav Vignesh <[email protected]> (cherry picked from commit bdd4b2a)
…2423) Signed-off-by: Aadhav Vignesh <[email protected]> (cherry picked from commit bdd4b2a) Co-authored-by: Aadhav Vignesh <[email protected]>
Signed-off-by: Aadhav Vignesh [email protected]
Summary
rename logger names to be consistent in the xDS server package
Full changelog
Issues resolved
Updates #2313
Documentation
Testing
Backwards compatibility
backport-to-stable
label if the code is backwards compatible. Otherwise, list breaking changes.