-
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 densensitation #51306
Labels
Comments
xhebox
added
type/enhancement
The issue or PR belongs to an enhancement.
type/new-feature
labels
Feb 26, 2024
This was referenced Mar 27, 2024
This was referenced Apr 7, 2024
17 tasks
Oh, I don't there is a dedicated page for this. |
This was referenced Jun 27, 2024
Open
15 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Main tasks
Mark sensitive data with
‹..›
whentidb_redact_log=marker
,‹
will be escaped to‹‹
, similar to›
. This is a new feature:<>
It is basically because that users want the original log, and we (primarily tech supports) should only see desensitived logs.
tidb_redact_log
variable to enum type #51307parser.Normalize
etc. https://github.com/pingcap/tidb/blob/master/pkg/parser/digester.go#L86 #51588errors
library https://github.com/pingcap/errors/blob/master/normalize.go#L25 #51310tidb_redact_log
. #51557tests
The text was updated successfully, but these errors were encountered: