Configuring activity logging
You can configure your logging preferences for the API activity that is stored in analytics, overriding the default activity logging behavior.
About this task
You can complete this task either by using the API Designer UI application, or by using the browser-based API Manager UI.
An API event record exists for each API execution event in the Gateway server. By default, the
content type for a successful API execution is activity, and
payload for an API call the results in an error code. When you compose your
API definition, you can change the type of content to log in these API event records. During API
execution, the activity data is stored in the log
context variable, which populates
the API event record on completion of the API execution; for more information, see API activity logging context variables.
Activity logging that calls for logging of analytics data upon success doesn't apply for the OAuth provider. The OAuth provider logs analytics data for failure cases, but doesn't log successful cases.
At any time, you can switch directly to the underlying OpenAPI YAML source by clicking the Source icon . To return to the design form, click the Form icon .