-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
*: add global variable tidb_slow_log_masking to control masking slow log query (#17637) #17694
*: add global variable tidb_slow_log_masking to control masking slow log query (#17637) #17694
Conversation
Signed-off-by: sre-bot <sre-bot@pingcap.com>
/run-all-tests |
Signed-off-by: crazycs <crazycs520@gmail.com>
/run-all-tests |
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
/run-all-tests |
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
/rebuild |
/run-all-tests |
/run-all-tests |
/run-unit-test |
Sorry @zimulala, you don't have permission to trigger auto merge event on this branch. |
/merge |
/run-all-tests |
@sre-bot merge failed. |
/merge |
/run-all-tests |
@sre-bot merge failed. |
/merge |
/run-all-tests |
cherry-pick #17637 to release-4.0
Signed-off-by: crazycs crazycs520@gmail.com
What problem does this PR solve?
Issue Number: close #17463
This PR adds global variable
tidb_slow_log_masking
to control masking slow log query.Such as below:
tidb_slow_log_masking
first.just like SQL normalize, such as below:
The original SQL is:
What is changed and how it works?
Related changes
pingcap/docs
/pingcap/docs-cn
:Check List
Tests
Side effects
Release note
add global variable tidb_slow_log_masking to control masking slow log query.