Create Selective Logging Configuration
You can define the selective logging configuration parameters in a XML file.
For any request payload, you can define the fields in the policy which are logged. The following formats of payloads are supported:
- Text payloads. See Selective Logging for Text Payloads.
- XML payloads. See Selective Logging for XML Payloads.
- JSON payloads. See Selective Logging for JSON Payloads.
- Property based payloads. See Selective Logging for Property Format Payloads.
Refer to the Sample Log Policy XML File to create the selective logging in an XML file.
- Selective Logging for Text Payloads
To select the fields in the text format payloads, use the <TextSelectiveLog> tag in the log policy XML file. This table explains the field names for logging in a text payload. - Selective Logging for XML Payloads
To select the fields in the XML payloads, use the <XMLSelectiveLogFields> tag in the log policy XML file. This table explains the field names for logging in a XML payload: - Selective Logging for JSON Payloads
To select the fields in the JSON payloads, use the <JSONSelectiveLogFields> tag in the log policy XML file. This table explains the field names for logging in a JSON payload: - Selective Logging for Property Format Payloads
To select the fields in the property format payloads, use the <PropertySelectiveLogFields> tag in the log policy XML file. This table explains the field names for logging in a property format payloads.
Copyright © Cloud Software Group, Inc. All rights reserved.