[SOLVED] How can I see the log for cloud function?

Cloud function document doesn’t exist here. It’s just 404 page.

https://docs.moralis.io/moralis-server/cloud-code/cloud-functions

It only V1 document. It describes that we can see the log. But it’s not working. Maybe because of V1

https://v1docs.moralis.io/moralis-dapp/cloud-code/cloud-functions#debugging

Can you please clarify how to see the logs?

BTW, Moralis has any plan to abandon Cloud Function?

You can access the documentation specific to v1

When you go to docs.moralis.io you will see a link to v1 documentation

I think http://docs.moralis.io/ doesn’t have cloud function section except this one.

https://docs.moralis.io/moralis-server/cloud-code/cloud-functions

Whatever the V2 document is, it’s still unclear how can we check the cloud function’s log.
This V1 document describes we can see the log from old UI. But now we don’t have the old UI.

https://v1docs.moralis.io/moralis-dapp/cloud-code/cloud-functions#debugging

How can we check the cloud function log?

You can check the logs in your dashboard. You can also print logs in real-time in the console

Thanks for the reply.

Which part of the dashboard? I think it can be seen only old dashboard. The current New dashboard has no log.

No???

You should log in to your account > servers > server settings > database > You click the access database to get to the DB dashboard, you can find the Logs there.

2 Likes

after you find the logs, the logs reset when server restarts, if you restarted server recently you will not see older logs

1 Like

Thank you!!!

I got it!