Local logging

Local logging refers to the integration's data or metadata that is saved during its execution. Apigee uses the saved data to generate the integration execution logs.

You can set the Local logging to any of the following three modes:

  • Enable(sync) - The log data is persisted (written) during integration's execution. In this mode, Apigee writes the log data synchronously after each execution step. This mode guarantees the generation of logs for all the integration executions.

    Use this mode if your priority is to have a guaranteed generation of logs, and a latency in integration execution time is acceptable.

  • Enable(async) (Preview) - The log data is persisted (written) after the completion of the integration's execution. In this mode, the integration takes a relatively lesser time to execute when compared to Enable(sync) mode, because Apigee writes the log data asynchronously during the integration execution. However, this mode doesn't guarantee the generation of logs for all the executions. In rare cases, it's possible that logs aren't generated for an integration execution.

    Use this mode if your priority is to run your integrations with reduced latency, and the guaranteed generation of logs is relatively of a lesser importance.

  • Disable - The execution logs aren't generated for the integration.

To configure the local logging for your integration, do the following steps:

  1. Open your integration in the integration designer.
  2. Click the information icon, in the toolbar.
  3. image showing the info icon image showing the info icon
  4. Select any one of the Local logging modes.
  5. image showing local logging options image showing local logging options
  6. Click Done.