Log allows the creation of log registers inside a pipeline. It helps in the generation of steps traceability when you want so. 

The generated logs are available under Dashboard -> Logs.

Besides, when you're building a pipeline and make tests on the test-mode area, the results are also available in the LOGS tab, right next to MESSAGES.

Take a look at the configuration parameters of the component:

  • Step Name: defines the name of the component on canvas.

  • Log Level: defines how the generated log will be classified (options: INFO, ERROR and WARN).

  • Message: defines a message that will be registered in the log - it's possible to use the Double Braces functionality, that allows you to build a message com data from the pipeline flow).

Example:
There's been an error when trying to register the client code {{ message.id }} 

IMPORTANT: all the line break characters (\n or \r\n) will be removed in the logs display.

            

Messages flow

Input

The component accepts any input message and can use it through Double Braces.

                  

Output

The component doesn't change any information of the input message. Therefore, it's returned to the following component or it's used as final answer if this component is the last step of the pipeline.

Sensitive Fields

When sensitive fields are configured in the pipeline or in your realm, these fields will appear in the component output obfuscated with the "***" character set.

Example:

Imagine that the sensitive field email is defined in the pipeline and the Log component message is configured as follows:

There was an error sending email to {{message.email}} on {{message.dateTime}}

The log will be presented as follows:

There was an error sending email to *** on 05/07/2021 10: 11: 33: 5120

IMPORTANT: the obfuscation of sensitive fields requires more processing resources and memory from the pipeline. These additional features are affected by both the number of sensitive fields configured and the size of the message.

Did this answer your question?