This article will discuss the steps required for disabling audits going to the local database.
Environment
All supported versions of the API Gateway
Resolution
The following instructions should be followed to disable auditing on the CA API Gateway.
Open the CA Policy Manager.
Navigate to Tasks -->Logging and Auditing --> Manage Log/Audit Sinks then click on Manage Audit Sink.
In the Audit Sink Properties window that opens, deselect the Save audit records to Gateway database option and select the Output audit records via audit sink policy option.
The Configure button on this prompt will allow the internal audit database structure to be pointed to an external database or establish the Audit Sink and Look-up Policies. This will allow the Audit Event Viewer in the Policy Manager to view the records. Enter details per your needs.
Click Finish to save the changes. Once you are out of the Manage Log Sinks prompt, you should see [Internal Audit Lookup Policy] and [Internal Audit Sink Policy] created in your left Policies and Services list if you chose the "Create Custom Audit Sink and Lookup Policy" option.
Openup the Internal Audit Sink Policy for editing in the Policy Manager.
Disable all of the default assertions in the Audit Sink Policy and add a single Continue Processing assertion to the bottom of the policy.
The above example is useful when a systems administrator wishes that audit record logging be done via simple log files or Syslog.