Skip to content

Commit a9f20a8

Browse files
committed
Update docs
1 parent ea9739e commit a9f20a8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,13 +90,13 @@ You can archive this by adding the `blame_impersonator` configuration key in you
9090

9191
The default behavior is to blame the logged-in user, so it will ignore the `impersonator` when not explicitly declared.
9292

93-
## Clean old logs
93+
## Clean up old logs
9494

95-
To clean logs older than 3 months, use the following command:
96-
97-
```bin/console audit-logs:delete-old-logs```
95+
To clean up old logs, use the following command:
9896

97+
```bin/console audit-logs:delete-old-logs --retention-period=P6M```
9998

99+
You can specify `retention-period`, For format, see: https://www.php.net/manual/en/dateinterval.construct.php
100100
## License
101101

102102
The audit bundle is free to use and is licensed under the [MIT license](https://opensource.org/licenses/mit-license.php)

0 commit comments

Comments
 (0)