-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Prefix logger with keyspace/shard #8869
Conversation
Signed-off-by: Yang Wu <y.wu4515@gmail.com>
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 fine to me.
@aquarapid @sougou any concerns about this?
I need to fix the stackfram a bit :) |
Signed-off-by: Yang Wu <y.wu4515@gmail.com>
I think this is ready for review, 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.
LGTM
@aquarapid do you happen to have the permission to land this PR? would like to land it for the v12 release early next week. thanks! |
gentle nudge, thanks! |
If you really need this in v12 we can accept a PR on the release-12.0 branch (since this was approved several days ago but not merged in time). |
Signed-off-by: Yang Wu y.wu4515@gmail.com
Description
VTGR logs can be pretty hard to find the right one for a given shard. Often the time, we need know the host name and then grab logs from it.
This PR prefix all the VTGR logs with
shard=ks/shard
so that it is easier to search.Related Issue(s)
^
Checklist
Deployment Notes