-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
log: add tidb_log_desensitization
global variable to control whether do desensitization when log query
#18578
Conversation
Signed-off-by: crazycs520 <[email protected]>
Signed-off-by: crazycs520 <[email protected]>
Signed-off-by: crazycs520 <[email protected]>
/rebuild |
Codecov Report
@@ Coverage Diff @@
## master #18578 +/- ##
===========================================
Coverage 79.2934% 79.2934%
===========================================
Files 540 540
Lines 145601 145601
===========================================
Hits 115452 115452
Misses 20858 20858
Partials 9291 9291 |
/run-all-tests |
LGTM |
/run-all-tests |
1 similar comment
/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
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
/merge |
/run-all-tests |
Signed-off-by: ti-srebot <[email protected]>
cherry pick to release-4.0 in PR #18581 |
…r do desensitization when log query (#18578) (#18581) Co-authored-by: crazycs <[email protected]> Co-authored-by: Yiding Cui <[email protected]> Co-authored-by: bb7133 <[email protected]>
closes #18034 |
What problem does this PR solve?
ref: #18566
Add
tidb_log_desensitization
global variable to control whether do desensitization when log query.Here are some examples:
Before
Now
after
set @@global.tidb_log_desensitization=1;
;What is changed and how it works?
Related changes
Check List
Tests
Side effects
Release note
tidb_log_desensitization
global variable to control whether do desensitization when log query.