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

Log rotation / log lifetime #70

Open
alexrowesoap opened this issue Feb 24, 2020 · 2 comments
Open

Log rotation / log lifetime #70

alexrowesoap opened this issue Feb 24, 2020 · 2 comments

Comments

@alexrowesoap
Copy link

Hi There,
I've looked through the documentation, and I can't see any configuration or similar in regards to the archival or rotation of entries.
The reason being that the audit tables get pretty large quite quickly on one of our instances.
Is there anything baked-in in terms of cleanup?
Thanks

@l3pp4rd
Copy link
Member

l3pp4rd commented Feb 27, 2020

This is up to user to manage, but you can fork and adapt it for your use case. I no longer work with php so do not expect changes in this repository

@indjeto
Copy link
Collaborator

indjeto commented Feb 4, 2024

I added a command:
bin/console audit-logs:delete-old-logs --retention-period=P6M
that deletes the old record.

There is not option to archive them.

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