Log Messages with a Logger Action

You can log messages to the activity stream and diagnostic logs by adding the logger action at any point in the integration. You create a log message in the logger action that is a static message or variable-populated message.

Create a Logger Action

To create a logger action:

  1. Add a logger action to an integration in either of the following ways:
    • On the side of the canvas, click Actions Integration actions icon and drag the Log action to the appropriate location.
    • Click Add icon at the location where you want to add the log action, then select Log.

    The Configure Logger panel opens.

  2. Click Edit Edit icon under Configure Logger to enter a name and optional description for the log action.

  3. Select whether to always log this message or log it only when tracing is set to audit. You can enable tracing when you activate an integration. See Activate an Integration.

  4. Specify a static or variable-populated message to be displayed in the activity stream and diagnostic logs. Drag elements from the Sources tree to create a message.


    The Input Sources (which is selected) and Functions tab appear. Below is the Components section. Functions is selected, and then String. The concat function is selected. A description of concat appears below. On the right side is the Configure Logger panel. A logger description is provided, following by two radio buttons: Always (which is selected) and When tracing level is set to Audit. Below is the logger message.

  5. When complete, click Save. For this example, a log action is included in the integration.


    The while action is expanded to show an assign action and logger action.

Track the Status of a Logger Action During Runtime

During runtime, the messages in the loggers are written to the activity stream and diagnostic logs.

  1. In the navigation pane, click Observability, then Instances.
  2. Click the integration instance.
  3. Scroll through the activity stream.
  4. Select Download Download icon to download the logs.

  5. Open the zip file and view the log messages you created.