Log
In this article
Overview
You can use this Snap to log the desired output to respective file based on the log level.
Snap Type
This is a write-type Snap used to write the logs.
Prerequisites
None.
Limitations and Known Issues
None.
Snap Views
Type | Format | Number of Views | Examples of Upstream and Downstream Snaps | Description |
|---|---|---|---|---|
Input | Document
|
|
| Each document contains data in the JSON format. |
Output | Document |
|
| Each document contains a corresponding response in the JSON format. |
Error | Error handling is a generic way to handle errors without losing data or failing the Snap execution. You can handle the errors that the Snap might encounter when running the Pipeline by choosing one of the following options from the When errors occur list under the Views tab:
Learn more about Error handling in Pipelines. | |||
Snap Settings
Field Name | Field Type | Description |
|---|---|---|
Label*
Default Value: Log | String | Specify the name for the Snap. You can modify this to be more specific, especially if you have more than one of the same Snap in your Pipeline.
|
Level*
Default Value: MD5 | String/Expression/Dropdown list | Choose the log level. |
Text*
Default Value: | String/Expression | Specify the value of the text or map a field whose data is used for writing logs. |
Snap Execution
Default Value: Execute Only | Dropdown list | Select one of the following three modes in which the Snap executes:
|
Snap Pack History
Have feedback? Email documentation@snaplogic.com | Ask a question in the SnapLogic Community
© 2017-2025 SnapLogic, Inc.