How to disable auditing

The audit service may generate a large number of audit trail records for very active systems. In some instances it may not be necessary to generate audit trail records for all modules.

It is not possible to disable auditing on a module completely using the emuaudit command as the system will always produce XML audit records for any record changes. These records are used by other auditing services (e.g. sync service) to monitor system changes.

To disable the loading of audit trails records for a module add:

AUDIT=no

to the emuoptions file under the database directory (data/tablename). It may be necessary to create the emuoptions file if it does not exist; thus to disable auditing of the Parties module add:

AUDIT=no

to data/eparties/ emuoptions. When an entry is added to the emuoptions file, the Audit background load must be restarted before it will take effect.

It is also possible to disable the loading of all audit trail records by removing the Audit Trails table (eaudit). If EMu cannot find the eaudit table, the audit service will ignore any XML audit records generated.