While audit logging can be useful for monitoring Pentaho Server activity and performance, the act of collecting the necessary audit data can introduce significant memory overhead with the solution database. Your Pentaho Server must be stopped before performing this procedure. Follow the instructions below to disable audit logging in the Pentaho Server.
Performing this task will disable all audit functions in the Pentaho Server's administration interface.
Open the /pentaho-solutions/system/pentahoObjects-spring.xml file with a text editor.
- Locate the following line:
<bean id="IAuditEntry" class="org.pentaho.platform.engine.services.audit.AuditSQLEntry" scope="singleton" />
- Replace that line with the following one:
<bean id="IAuditEntry" class="org.pentaho.platform.engine.core.audit.NullAuditEntry" scope="singleton" />
- Save and close the file
- Using a database management tool or command line interface, connect to the Pentaho Hibernate database.
- Truncate (but do not drop) the following table:
- Exit your database utility and restart the Pentaho Server.