Managing purging of the audit log
By default, all audit log information older than 30 days is automatically purged. If you don't back up your audit log regularly, this information will be lost. In addition to setting up a backup, you can configure a longer expiration period to preserve audit information for a longer period of time.
Procedure
- In your Web application, navigate to the location of your logback.xml logging configuration file, and open the file for editing.
- Find the property called
log.history.auditand change the value of thevalueattribute to the number of days you want to preserve audit log entries (defaults to 30). - Save and close logback.xml.
- Restart your Web application to apply your changes.