Track Actions with Logs
Logs enable you to search for past actions for a specific task or to view an entire chain of actions for a specific task. By default, only errors will be logged for all workflows. Additional logging can be enabled on each workflow.
Enabling Logging will add basic log entries when each workflow task runs, including when it started, completed, and basic relevant information from the step. Any calls to Mesa.log.info() and Mesa.log.warn() in your custom script will also be logged.
Enabling Debug Logging will additionally add log entries with the request and response payload for every API calls. Any calls to Mesa.log.debug() in your custom script will also be logged.
Features
Search Bar
You can search for specific actions of each task.
Jump to date
Next to the Search Bar, you can jump to an action of a specific task by selecting a date and time. Once you click on Search, the Logs will display actions starting from the time you indicated. You can also view actions around the time that you indicated. It is a great way to sort through the logs to see actions of a specific task. If you wish to look for logs of a whole task chain, scroll up all the way to the first log.
Clear
You can clear any specific search or activities by clicking on the Clear button, located next to the Date Filter. This will take you to the most recent action performed by a task.
Expand/Collapse
You can expand the Logs screen by clicking on Expand in the top right-hand corner. This will allow you to view more actions on a single screen.
If you wish to view fewer actions or need to use other features from MESA, click on Collapse.
You can click on the status of a specific step to view the entire chain of actions for that step. You will be taken out of the original search and you will be shown more details of a specific task. Each task is given a unique identifier.
Clicking on System, Info, Warn, Error will show you logs of similar types.
Clicking on Out: Add Line Item to Shopify Order will query logs with a full-text search and will find other logs triggered by the same Input or Output.
Clicking on 610dbd3681 (the unique identifier of this task) will show you all the logs related to this task (and if the task has any children, those logs as well).
Jumping from Logs to the Activity
Hovering the mouse on a particular log line will also reveal a small eye icon on the left.
Clicking on this will show additional options.
Clicking on View in Activity will take you to the item in the activity, where you can view the payload, and replay tasks. You can find more information here: Activity.
Clicking on Go to Add Free Product to Orders Over $100 will take you to the associated workflow.