An API event is logged each time an API operation is invoked and for each API event. You can gain analytic insights into your API activities or debug your APIs through the logged data.
- No logging.
- Activity: logs invocation, where only the resource URI is recorded.
- Header: logs the activity and header.
- Payload: logs the activity, header, and payload.
To generate logs for an API, configure the API definition to enable logging and define the types of content to log. When logging payload data, you must also enable message buffering to ensure that all request and response data is captured.