Use the Log to journal action to log a message or a variable to the workflow instance journal.
This can be very useful in tracing variables throughout your workflow execution.
Configuration
Drag the Log to journal action from the Logic and flow actions pane to your workflow and drop it where you want to log to the workflow instance journal.
In the message field, type the message or choose a variable to be logged.