-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
dm: add log redaction configuration item in dm worker log file #20133
base: master
Are you sure you want to change the base?
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@GMHDBJD Could you please invite a tech reviewer? Thanks! |
@@ -52,6 +53,12 @@ cert-allowed-cn = ["dm"] | |||
|
|||
- 日志文件。如果不配置,日志会输出到标准输出中。 | |||
|
|||
#### `redact-info-log` <span class="version-mark">从 v9.0 版本开始引入</span> |
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.
#### `redact-info-log` <span class="version-mark">从 v9.0 版本开始引入</span> | |
#### `redact-info-log` <span class="version-mark">从 v9.0.0 版本开始引入</span> |
@@ -52,6 +53,12 @@ cert-allowed-cn = ["dm"] | |||
|
|||
- 日志文件。如果不配置,日志会输出到标准输出中。 | |||
|
|||
#### `redact-info-log` <span class="version-mark">从 v9.0 版本开始引入</span> | |||
|
|||
- 日志脱敏。控制是否在日志中记录 DM 查询参数详细信息。 |
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.
- 日志脱敏。控制是否在日志中记录 DM 查询参数详细信息。 | |
- 控制是否开启日志脱敏。该配置项值设为 `true` 时对 DM-worker 日志脱敏,隐藏 DM 查询参数的详细信息。具体使用方法参见 [DM-worker 组件日志脱敏](/log-redaction.md#dm-worker-组件日志脱敏)。 |
First-time contributors' checklist
What is changed, added or deleted? (Required)
Which TiDB version(s) do your changes apply to? (Required)
Tips for choosing the affected version(s):
By default, CHOOSE MASTER ONLY so your changes will be applied to the next TiDB major or minor releases. If your PR involves a product feature behavior change or a compatibility change, CHOOSE THE AFFECTED RELEASE BRANCH(ES) AND MASTER.
For details, see tips for choosing the affected versions (in Chinese).
What is the related PR or file link(s)?
Do your changes match any of the following descriptions?