-
Notifications
You must be signed in to change notification settings - Fork 477
Description
PR: cockroachdb/cockroach#48051
From release notes:
The commands
cockroach debug zipandcockroach debug merge-logssupport a new flag--redact-logs. When specified, it causes log messages that potentially contain confidential data or PII to be redacted away. This feature is experimental. Note: Currently, this redaction is extremely aggressive and may hinder the ability of Cockroach Labs to investigate issues from log files, especially if--redactable-logsis not enabled server-side. Other potentially-confidential data may still be retrieved bycockroach debug zip; the new flag only applies to retrieved log files inside the output zip file. [#48051][#48051] {% comment %}doc{% endcomment %}The server CLI commands (
start,start-single-node,demo) now support a new flag named--redactable-logs, which introduces markers in generated log entries to facilitate redaction of sensitive information bycockroach debug zipand other CockroachDB APIs. This is an experimental feature currently not enabled by default, but is recommended for all deployments and will be enabled by default in a later version. Note: the flag is advertised (in--help) bycockroach startandcockroach start-single-node, where log files are expected as a matter of course; it is also supported, yet hidden (from--help), by every other CLI command because every command can also produce log entries when passed--log-diror--logtostderr. [#48051][#48051] {% comment %}doc{% endcomment %}Advanced troubleshooting information (such as internal details from the Go runtime) is now saved in a separate log file named
<program>-stderr.xxx.login the configured log directory. [#48051][#48051] {% comment %}doc{% endcomment %}