Issue
-
AUDIT_AUDITEVENT
Environment
- Portal 6.2
Resolution
Note: The following information involves customizations that are beyond the scope of Liferay Support. Please exercise appropriate discretion in the use of this information to choose or to customize the API based on your requirement.
-
Liferay does not recommend altering the database directly. Therefore, if looking to clean up the table, utilize the following APIs and create a custom script to delete Audit Events.
AuditEventLocalServiceBaseImpl.deleteAuditEvent(long auditEventId)
AuditEventLocalServiceBaseImpl.deleteAuditEvent(AuditEvent auditEvent)
Additional Information
- Please see the following documentation on scripting to help in the customization process: Introduction to Using Scripting for Advanced Flexibility.
Subscriber Exclusive Content
A Liferay Enterprise Subscription provides access to over 1,500 articles that include best practices, troubleshooting, and other valuable solutions. Sign in for full access.
Sign In