App Control: How to enable API debugging on the console
book
Article ID: 289163
calendar_today
Updated On:
Products
Carbon Black App Control (formerly Cb Protection)
Issue/Introduction
How to enable API debugging on the console for performance testing
Environment
- App Control Server: 8.x and Higher
- API script or command
Resolution
- Open the App Control Console and click on Rules > Updaters > Server Tamper Protection > Click 'Disable'
- In the same browser, open the page https://<servername>/shepherd_config.php
- Use the dropdown to find the value: "API_DebugLevel"
- Set value to: 6
- Open a new tab in the same browser and go to: https://<servername>/support.php
- Start Server logging
- Set logging levels to High, and check SQL trace
- Reproduce the API call
- On the support.php page, stop the logging
- Go to Tools > Requested Files > Diagnostics Files (tab) and collect the logs
- Set API_DebugLevel back to '0' on the https://<servername>/shepherd_config.php
- Re-enable the Server Tamper Protection Updater
- Upload the collected logs including the API.log to the CB Vault
Feedback
thumb_up
Yes
thumb_down
No