View logs for your Databricks app
note
To make logs available in the Databricks Apps UI or through the app URL, your app must write output to stdout
and stderr
.
You can monitor your app’s logs using these methods:
- In the app details page, click the Logs tab to see standard output and error. For more information, see View the details for a Databricks app.
- Access logs directly at the
/logz
path of your app’s URL. For example, if your app URL is
https://my-app-1234567890.my-instance.databricksapps.com
, view logs at
https://my-app-1234567890.my-instance.databricksapps.com/logz
.
Viewing audit logs
Use the Databricks system tables to track audit events related to your apps. These tables let you query important activities, such as:
- User logins to apps. See App logins.
- Changes to app permissions or sharing. See Permission changes.
- App creation events. See App creation.
- Actions taken by apps users. See User actions.