# Log Message

> The **Log Message** activity lets you record diagnostic messages directly in the API Workflow designer without writing JavaScript code. Messages are written to Orchestrator Logs. Use it to capture runtime information and build audit trails during workflow execution.

The **Log Message** activity lets you record diagnostic messages directly in the API Workflow designer without writing JavaScript code. Messages are written to Orchestrator Logs. Use it to capture runtime information and build audit trails during workflow execution.

## Using the Log Message activity

To add a **Log Message** activity to your workflow:

1. On your API workflow designer canvas, select the plus (+) icon. The **Add activity** menu appears.
2. Select **More ...**, then **Log Message**.
3. In the **Properties** panel, configure the following fields:
   * **Message** (required)—Enter the message or expression to log. You can type a static message or use the expression editor to reference workflow variables and outputs.
   * **Log level**—Select the severity level for the log entry. Available options are **Info**, **Warning**, and **Error**. The default is **Info**.
4. Debug the workflow to execute the activity and verify the log output.
