Auth0 Home Blog Docs

Rules/Hooks/Custom DB Logging?

I’m writing custom DB scripts. There’s a lot that can go wrong before I get to the point of being able to write a log message to my database. If something like connecting to the database fails, is this logged somewhere that I can find it? If this log does not exist, do you have suggestions for dealing with life without it? If it does exist, can I explicitly write information to it?

Hi @jholladay,

The scripts run in a webtask. You can use this extension to debug with console logs, just like you would with rules. Error messages will log to the Auth0 logs which can be exported with any of the log extensions.

Let me know if this helps.

Thanks,
Dan

Thanks, Dan. Yep, that’s just what the doctor ordered. I posted this before I started exploring extensions.

1 Like

Glad you found a solution!

Good luck!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.