To prevent the database from unnecessary growth (and to make it somewhat "self-cleaning"), I'm looking for the capability to have old Audit Log entires be pruned after a programmable duration. For example, if I set it to prune activity after 366 days, then it would remove any entries from the Audit Log that are older than 366 days.
If there are other places this might benefit (like monitoring for page edits and such), then it could certainly be expanded to that as well, but right now, the primary one I see, is the Audit Log.
Describe the benefits this would bring to existing BookStack users
This would serve to keep the Audit Log from growing too large unnecessarily, by allowing the system to self-clean stale entries that now are essentially irrelevant.
Can the goal of this request already be achieved via other means?
I'm told some direct manipulation of the database could achieve this, but that doing so may cause unintended damage to other elements with BookStack.
Have you searched for an existing open/closed issue?
[X] I have searched for existing issues and none cover my fundamental request
Describe the feature you'd like
To prevent the database from unnecessary growth (and to make it somewhat "self-cleaning"), I'm looking for the capability to have old Audit Log entires be pruned after a programmable duration. For example, if I set it to prune activity after 366 days, then it would remove any entries from the Audit Log that are older than 366 days.
If there are other places this might benefit (like monitoring for page edits and such), then it could certainly be expanded to that as well, but right now, the primary one I see, is the Audit Log.
Describe the benefits this would bring to existing BookStack users
This would serve to keep the Audit Log from growing too large unnecessarily, by allowing the system to self-clean stale entries that now are essentially irrelevant.
Can the goal of this request already be achieved via other means?
I'm told some direct manipulation of the database could achieve this, but that doing so may cause unintended damage to other elements with BookStack.
Have you searched for an existing open/closed issue?
How long have you been using BookStack?
Under 3 months
Additional context
No response