Enable Debug Logs for Starburst Trino¶
This section explains how to enable debug logging for Starburst Trino to help troubleshoot access management issues.
Prerequisites¶
- Starburst Trino setup is completed successfully
Steps to Enable Debug Logs¶
-
Navigate to the
privacera-starburst-trino-pluginBash -
Edit the
values.yamlfileBash -
Add the debug log configuration to the
coordinatorsection in values.yaml.Add the following configuration directly under the
coordinatorsection:
| Bash | |
|---|---|
values.yaml file. Install or Upgrade Starburst Trino on Kubernetes Cluster¶
After adding the debug log configuration to the values.yaml file, upgrade the existing Helm release—or install it if it is not already present—using the specified chart, version, and values file:
| Bash | |
|---|---|
Verify Debug Logs¶
- Wait for the pods to restart and confirm they are in Running state
Bash - Run the following command and ensure the configuration is updated
Bash - Check the coordinator pod logs to verify that debug logs are being generated:
Bash
Debug logging is set on the connector, not in values.yaml. Turn on Enable debug logging while configuring the connector, then set the levels:
| Field | Definition | Default |
|---|---|---|
| Plugin log level | Level for the Privacera plugin classes. | INFO |
| Trino log level | Level for everything else on the cluster. | INFO |
| Ranger log level | Level for the Ranger policy engine and audit client. | INFO |
Save the connector and download the bundle again, then rebuild the image and restart the coordinator. The levels only reach the plugin through a freshly downloaded bundle.
- Prev topic: Troubleshooting