String
Tracing Module 1.1 Reference
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.
Operations
Clear Logging Variables
<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 Variables
<remove-logging-variable>
Removes a variable from the event logging context.
Scopes
With CorrelationID
<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.
Parameters
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] |