Log Block
Log writes a labeled debug entry during a run. It is useful when you need to inspect what a variable contains at a specific point in the Flow.
At a glance
What it does
Log records a label and value in the run output. If the value is empty, it logs the current variables instead.
Use it while building or debugging a Flow, especially before and after Blocks that create or transform variables.
Use it when
- Check a variable after extraction.
- Record a readable debug message during a run.
- Compare variable state before and after a transformation.
Do not use it when
- You need to export data for users; use an output or integration Block.
- You need to transform a value; use Template or another data Block.
- You are logging sensitive values that should not appear in run output.
Settings
Log has a label and a value. The value accepts Scrapeer variables and can be left empty to log all current variables.
Label
Required: No- Variables
- No
- Description
- Readable name shown with the log entry. The default is Log.
Value
Required: No- Variables
- Yes
- Description
- Value to log. Leave empty to log the current variables.
Outputs
Log does not create a reusable variable. It records debug output for the run.
labelstringThe label used for the log entry.
valuestring | objectThe interpolated value or current variable snapshot logged by the Block.
messagestringRuntime message for the log entry.
Example Flow
Place Log after a Block that creates a variable to confirm the value before the Flow continues.
- Extract or define a variable.
- Log the variable value with {{variableName}}.
- Inspect the run output in Inspector mode.
Errors and fixes
Start with symptoms visible in the editor or Inspector, then check the earliest Block that produced the wrong page state, variable, or output.
The log value is empty.
- Check
- Check whether the variable exists before the Log Block runs.
- Fix
- Move Log later in the Flow or fix the variable name.
The log shows every variable.
- Check
- Check whether the Value field is empty.
- Fix
- Enter a specific value or variable reference to log only that value.
Local and cloud runs
Local and cloud runtimes both interpolate the Value setting. If Value is empty, both runtimes log the current variables.