jesperwe
jesperwe13mo ago

Action logger output in cloud instance

If I use the Logger (logger = require("zitadel/log")) in an Action on an instance in the Zitadel cloud, where do I find the output?
5 Replies
fabienne
fabienne13mo ago
at the moment the logger can only be used on the self hosted instances, in the cloud you can't see them
jesperwe
jesperweOP13mo ago
Bummer. Any tips on how to debug my action that does not do what I expect?
fabienne
fabienne13mo ago
does it do something? or just not what you expect? a usual problem we see, if you are not sure if the action is running or not, is when the action name is not the same as the function name in the javascript snipped
jesperwe
jesperweOP13mo ago
Yes that part is very clear in the UI ! I was able to figure out the issue. It is a bit harder to debug when your flying blind though, so log access would be a nice future addition.
fabienne
fabienne13mo ago
yes, we definitely see the problem. with actions v2 this will anyway change a little bit, you will be able to configure the trigger as kind of webhook, but the code will run somewhere on your side, with that you are in full controll of what happens also we think for the future it would be nice if we can show you the logs of you instance in the customer portal

Did you find this page helpful?