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 automations. Additional logging can be enabled on each Automation:
- Enabling Logging will add basic log entries when each automation 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.
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.
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.
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 action to view the entire chain of actions for that task. 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: Filter" will query logs with a full text search and will find other logs triggered by the same Input or Output.
Clicking on "5eb5c62d39" (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 Queue:
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 Queue" will take you to the item in the queue, where you can view the payload, and replay tasks. More info here: Queue.
Clicking on "Go to Add Image Colors to Product as Tags" will take you to the associated automation.