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

Improve logging of references - do not log full referenced object #6

Closed
ivosturm opened this issue Mar 15, 2018 · 2 comments
Closed

Comments

@ivosturm
Copy link

In my opinion it does not make sense to log an associated object with all it's members. This is clogging up the database unnecessarily. An option I implemented for this is to per AuditTrailSuperClass specialisation, populate an extra to be created attribute in the ModelReflection.MxObjectReference called KeyAttribute.
Only show this KeyAttribute to the user if a LogLine for a reference is shown.

@jacobdehorn
Copy link

jacobdehorn commented Mar 26, 2019

@ivosturm I face the same challenge. Can you show me how you worked around this?

@passalaqua
Copy link
Contributor

Hi @ivosturm ,

We recently released a new version of the Audit Trail (v7.5.0) that significantly improves the logging of references and reference sets. While it still logs attributes of references, it no longer does so as a single text field in the log line entity and it is now possible to filter which references have been unchanged, added or deleted. We believe this already significantly reduces the number of logged objects.

Please try this new version, and feel free to open a new issue if you believe this to be insufficient.

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

3 participants