Getting started Community Training Tutorials Documentation APIs, AI & Tools
String
Tracing module enables you to enhance your logs by adding, removing, and clearing variables from the logging context for a given Mule event. It also enables you to modify the correlation ID during flow execution.
<clear-logging-variables>
Clears all the logging variables from the event logging context. This operation does not remove the correlation ID nor the current event processor because those variables are managed by Mule runtime engine.
<remove-logging-variable>
Removes a variable from the event logging context.
<with-correlation-id>
Scope that creates a process where the inner chain modifies the current correlation ID in the event flow. After the process finishes its execution, the correlation ID returns to the previous ID.
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Name |
String |
Display name for the scope |
||
Correlation id |
String |
Set a custom correlation ID. |
x |
|
Target Variable |
String |
Name of the variable that stores the operation’s output. |
||
Target Value |
String |
Expression that evaluates the operation’s output. The expression outcome is stored in the target variable. |
#[payload] |