-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by hbrunn
- Loading branch information
Showing
2 changed files
with
28 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
Rules | ||
~~~~~ | ||
|
||
Go to `Settings / Technical / Audit / Rules` to subscribe rules. A rule defines | ||
which operations to log for a given data model. | ||
|
||
.. image:: ../static/description/rule.png | ||
|
||
Cleanup | ||
~~~~~~~ | ||
|
||
A scheduled action exists to delete logs older than 6 months (180 days) | ||
automatically but is not enabled by default. | ||
To activate it and/or change the delay, go to the | ||
`Configuration / Technical / Automation / Scheduled Actions` menu and edit the | ||
`Auto-vacuum audit logs` entry: | ||
|
||
.. image:: ../static/description/autovacuum.png | ||
|
||
In case you're having trouble with the amount of records to delete per run, | ||
you can pass the amount of records to delete for one model per run as the second | ||
parameter, the default is to delete all records in one go. |