The Real-time Webtask Logs extension displays all logs in real-time for the custom code in your account. This includes all console.log output and exceptions. Console.logs are helpful if you have issues with database scripts. You can view the results from your database scripts such as success messages, error messages, and console.log() statements.To learn more, see Real-time Auth0 Webtask Logs in Auth0’s Github repository.
The Real-time Webtask Logs extension uses the user’s request, so you should be cautious about logging sensitive information. For example, your custom database scripts work extensively with the user object, which may contain sensitive information. Logging the complete object may lead to the disclosure of sensitive information in the Webtask Logs extension.Auth0 strongly discourages such practices. We suggest that you be aware of the objects that you log and ensure sensitive information is not logged.
You can use the Real-time Webtask Logs extension to debug any Rules in your implementation, including all console.log output and exceptions. To learn more, read Auth0 Rules.In the following example, you will create a generic Hello World rule, run it, and use the Real-time Webtask Logs extension to see the results.