Enable K8S Debug Logs Using ConfigMap Changes¶
To enable K8S-enabled debug logs in the Privacera DataServer, follow these steps:
Replace the following placeholders with the actual values:
<NAMESPACE>: namespace where Privacera Manager is installed.<POD>: DataServer pod name.<PRIVACERA_DOWNLOAD_URL>: URL of the custom build package.
- SSH into the instance where Privacera Manager is installed.
- Edit the DataServer ConfigMap:
Bash - Update the log level:
- Search for
dataserver-env-custom.shand update the following variables to enable debug logging:Bash - Save and exit the editor.
- Search for
- Restart the DataServer pod to apply the changes:
Bash - Check the status of the pods:
Bash - Login to the DataServer pod and check if the log level has been updated:
- Navigate to the logs directory and collect the logs for debugging:
Bash
- Prev topic: Troubleshooting for Privacera DataServer