Skip to content

libroach: Log encryption actions#27880

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
mberhault:marc/log_encryption_actions
Jul 24, 2018
Merged

libroach: Log encryption actions#27880
craig[bot] merged 1 commit intocockroachdb:masterfrom
mberhault:marc/log_encryption_actions

Conversation

@mberhault
Copy link
Copy Markdown
Contributor

Use a logger with verbosity V(0) to log encryption key actions. The main logger passed to rocksdb remains at V(3).

This gives some visibility in the logs about the state of encryption.

small changes:

  • rename registry active_(store|data)_key to active_(store|data)_key_id for clarity
  • log AESNI and "core dump" warnings to V(0) log

Release note (enterprise change): log some encryption status.

Use a logger with verbosity `V(0)` to log encryption key actions. The main logger passed to rocksdb remains at `V(3)`.

This gives some visibility in the logs about the state of encryption.

small changes:
- rename registry `active_(store|data)_key` to `active_(store|data)_key_id` for clarity
- log AESNI and "core dump" warnings to `V(0)` log

Release note (enterprise change): log some encryption status.
@mberhault mberhault requested review from a team and bdarnell July 24, 2018 08:11
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@mberhault mberhault mentioned this pull request Jul 24, 2018
29 tasks
Copy link
Copy Markdown
Contributor

@bdarnell bdarnell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 15 of 15 files at r1.
Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained

@mberhault
Copy link
Copy Markdown
Contributor Author

TFTR!

bors r+

craig bot pushed a commit that referenced this pull request Jul 24, 2018
27880: libroach: Log encryption actions r=mberhault a=mberhault

Use a logger with verbosity `V(0)` to log encryption key actions. The main logger passed to rocksdb remains at `V(3)`.

This gives some visibility in the logs about the state of encryption.

small changes:
- rename registry `active_(store|data)_key` to `active_(store|data)_key_id` for clarity
- log AESNI and "core dump" warnings to `V(0)` log

Release note (enterprise change): log some encryption status.

Co-authored-by: marc <marc@cockroachlabs.com>
@craig
Copy link
Copy Markdown
Contributor

craig bot commented Jul 24, 2018

Build succeeded

@craig craig bot merged commit a428d35 into cockroachdb:master Jul 24, 2018
@mberhault mberhault deleted the marc/log_encryption_actions branch July 24, 2018 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants