Observability (logging)
Last updated
Last updated
Shypyard logging gives you a clear idea of how your tasks are running and helps you debug any issues that show up.
On the logs view, each item in the list correspond to log run from a triggered event. You can see the topic of the run as well as the version of the deployed code that is executed. You can also filter by success/failure and development/production runs.
Click on one of the logs, and we will show a slide out with details of that particular run. You will see 3 tabs:
Run Logs: this shows the exact console.log
output from your tasks for each log request. If a log run is retried, then they will all show up here.
Event Data: the event object processed by the log run.
Child runs: If you task triggers another task, then the child run history will show up here.
If you want to drill down to a specific event, you can filter by event ID. The id will be based on the triggered event object. For example, if you have a event for shopify/product/update
then you can pass in the product ID.
In the log view, you can see the Share URL button. Then you will get a shareable link you can pass to your teammate to view the logs.