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

Avoid logging large values #124

Open
eperott opened this issue Oct 3, 2019 · 1 comment
Open

Avoid logging large values #124

eperott opened this issue Oct 3, 2019 · 1 comment

Comments

@eperott
Copy link
Collaborator

eperott commented Oct 3, 2019

It would be nice if we could configure a size limit on values before logging them to the audit log. For instance it may not be useful to log 1M blobs into the audit log.

It should be possible to configure a size limit, and if the size of a value exceeds this limit, it should be replaced by a special character sequence. For performance reasons it would be desirable if the size could be checked before the value is extracted and escaped.

Primarily this should be implemented for prepared statements, but simple statements would be a nice bonus as well.

@etedpet
Copy link
Contributor

etedpet commented Oct 4, 2019

this issue is similar/related to #126

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

No branches or pull requests

2 participants