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:

Parameters for Logging in XML Payload
Parameter Description
FieldPath Specifies the XPath for the field to be selectively logged.

Example of Selective Logging Policy for XML Payloads

<XMLSelectiveLogFields>
                <FieldPath>/soapenv:Envelope/soapenv:Body/book:Title</FieldPath>
                <FieldPath>/soapenv:Envelope/soapenv:Body/book:Author</FieldPath>
         </XMLSelectiveLogFields>