From a9f20a860a6c0a85e530ab9d3e4695a8dad12a9c Mon Sep 17 00:00:00 2001 From: indjeto Date: Sun, 4 Feb 2024 15:07:41 +0200 Subject: [PATCH] Update docs --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 73ed839..132289e 100644 --- a/README.md +++ b/README.md @@ -90,13 +90,13 @@ You can archive this by adding the `blame_impersonator` configuration key in you The default behavior is to blame the logged-in user, so it will ignore the `impersonator` when not explicitly declared. -## Clean old logs +## Clean up old logs -To clean logs older than 3 months, use the following command: - -```bin/console audit-logs:delete-old-logs``` +To clean up old logs, use the following command: +```bin/console audit-logs:delete-old-logs --retention-period=P6M``` +You can specify `retention-period`, For format, see: https://www.php.net/manual/en/dateinterval.construct.php ## License The audit bundle is free to use and is licensed under the [MIT license](https://opensource.org/licenses/mit-license.php)