Troubleshooting for Privacera DataServer¶
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 actual values:
<NS>
: namespace where Privacera Manager is installed.<pod>
: DataServer pod name.
- SSH into the instance where Privacera Manager is installed.
- Edit the DataServer ConfigMap:
Bash - Update the log level:
- Search for
dataserver-env-custom.sh
and 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 - Verify the changes:
- Execute the DataServer pod and check if the log level has been updated:
- Collect the logs:
- Navigate to the logs directory and collect logs for debugging:
Bash
- Navigate to the logs directory and collect logs for debugging:
- Prev topic: Advanced Configuration