Skip to content
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

Should we hide user data when printing tuples? #9961

Open
sergepetrenko opened this issue Apr 17, 2024 · 1 comment
Open

Should we hide user data when printing tuples? #9961

sergepetrenko opened this issue Apr 17, 2024 · 1 comment
Labels
feature A new functionality

Comments

@sergepetrenko
Copy link
Collaborator

Tarantool prints tuples as is in logs when logging some errors like ER_TUPLE_FOUND:

ER_TUPLE_FOUND: Duplicate key exists in unique index "pk" in space "test" with old tuple - [1, "topsecret1"] and new tuple - [1, "topsecret2"]

AFAIU all sensitive data should be stripped from the logs. We might provide a space format option telling which fields should be masked in the log, so the result would be:

old tuple - [1, #####] and new tuple - [1, #####]
@sergepetrenko sergepetrenko added the feature A new functionality label Apr 17, 2024
@R-omk
Copy link

R-omk commented Apr 18, 2024

also tuples may be too big to print all data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new functionality
Projects
None yet
Development

No branches or pull requests

2 participants