Separating Audit Logs by Type of Event
By default, when Audit Log Packages, such as UserAudit, are enabled and set to Log Level Info, all types of audit events are logged to a single file: anzo_audit_info.log. You have the option, however, to configure Anzo to create and store smaller audit logs by generating separate files in subdirectories that are sorted by event type, such as userEvents, queryEvents, accessEvents, etc. Follow the instructions below to enable this option:
- In the Administration application, expand the Servers menu and click Advanced Configuration. Click I understand and accept the risk.
- Search for the Anzo Audit Logging Framework bundle and view its details.
- Click the Services tab and expand com.cambridgesemantics.anzo.AuditLog.
- Find the com.cambridgesemantics.anzo.auditlog.rdfLog property (shown below).
- Click the property to make it editable, and then select the checkbox to enable it.
- Click the checkmark icon () to save the change.
- Restart Anzo to apply the configuration changes.
Once new audit events are triggered, an audit/audit-flds
subdirectory is created in the <install_path>/Server/logs
directory. And audit logs will be created in the userEvents, queryEvents, accessEvents, etc. subdirectories.