cancel
Showing results for 
Search instead for 
Did you mean: 

Logger Mechanism

bhavesh-patel
Deputy Chef III
Deputy Chef III

Hey Everyone,


Can anyone guide me on how to implement the logger mechanism in Workato?

I have used Logger By Workato. Now my end goal is to maintain all these logs with every job execution so that I can identify errors for par jobs.

13 REPLIES 13

lykee11199
Deputy Chef I
Deputy Chef I

It is better to use Handle Errors than logger for error inspection.

bhavesh-patel
Deputy Chef III
Deputy Chef III

I have used Handle Errors to catch unexpected errors but I need a logger as well.

steven-marissen
Executive Chef I
Executive Chef I

If I understood correctly you would want to identify and count what errors occur and how many times they do?

On error, you could call the same function and pass parameters into it from the recipe itself. Within the function you could use a lookup table of Workato (although limited in rows and columns) or use a connected SQL server to put your logging details.

Also there is the Autonomous Operations Framework by Workato that has more or less the same goal, monitoring issues in every recipe and taking actions where needed. https://academy.workato.com/autonomous-operations-framework


I hope my interpretation was correct and helps you out 🙂

pratik-maskar
Deputy Chef I
Deputy Chef I

Try using Notes for each step where it will be useful to pick up the errors in the steps