Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
indjeto committed Feb 4, 2024
1 parent ea9739e commit a9f20a8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit a9f20a8

Please sign in to comment.