ecaudit icon indicating copy to clipboard operation
ecaudit copied to clipboard

Avoid logging large values

Open eperott opened this issue 5 years ago • 1 comments

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.

eperott avatar Oct 03 '19 06:10 eperott

this issue is similar/related to #126

etedpet avatar Oct 04 '19 06:10 etedpet