Write to Log
Description
The Write to log
action writes a specific string to the Hop logging system.
This action is similar to the Write To Log transform.
Typical use cases are logging variable values and additional, custom logging information to the Hop logging system.
be careful when writing variables for (unencrypted) passwords or other sensitive information to the Hop logging system! |
If no fields are specified it will write out all fields to the log. If at least one field is specified it will only print out that field. Parameters and variables must be specified in the Log message section.
A Logging level must be set. Set the Log detail level to Basic if you want parameters and variables to be printed out.
Example to print parameter or variable in Log message section: COUNTER: ${COUNTER}
If no fields exist, you will have to use a “Generate rows” transform to create a dummy row in order to print variables or parameters.
If an error stops anything from being written to the log, then disable the Hops that fail, add logging, and re-run. |
Options
Option | Description |
---|---|
Action name | The name of the workflow action. |
Log level | The logging level to use. See Logging for more details. |
Log subject | The subject to use in the logging line(s) |
Log message | The log message to write to the log |