Enable Debug Logs for Trino¶
This section explains how to enable debug logs for Trino to assist with troubleshooting access management issues.
-
Navigate to the
privacera-trino-pluginBash -
Edit the
values.yamlfileBash -
Add the debug log configuration to the
coordinatorsection in values.yaml -
Save the
values.yamlfile. -
Install or Upgrade Trino on Kubernetes Cluster
After adding the debug log configuration to the
values.yamlfile, upgrade the existing Helm release or install it if not present using the chart, version, and values file:Bash
Verify Debug Logs¶
- Wait for the pods to restart and verify they are in Running state
Bash - Run the following command and ensure the configuration is updated
Bash - Check the coordinator pod logs to verify 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