Skip log for the audit message with specified audit code
search cancel

Skip log for the audit message with specified audit code

book

Article ID: 440620

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

User want to skip to log certain audit message with particular audit codes to reduce the message written to the log and avoid flooding the ssg log. 

Environment

ssg 11.x

Cause

The ssg log by default will log the message that meet the threshold specified by the audit.messagethreshold and audit.detailthreshold values. 

Resolution

Set cluster wide property audit.auditDetailExcludeList with the audit codes separated with comma.  

The audit message with the audit code listed will not logged in the ssg log. 

Example:  Set 

audit.auditDetailExcludeList value to

9649,9670   

will suppress mesaages

9649: Could not find any matching result; assertion therefore fails; Expression is '<expression value>'

and

9670:  Found duplicate oauth parameter: x