Environment
- Cb Protection 6.x - 8.x
- All Supported Mac OS X and Linux
Objective
- This document provides information on how to enable debugging mode using "b9cli" command. This is useful for capturing information in to the agent log files when reproducing an issue for investigation.
Resolution
- Follow the steps from this document - How to use the "b9cli" command
- Elevate permission by using the CLI or Global password.
- CLI password can be found on the Computer Details page from the console.
- Global password is set by the admin
- Example: ./b9cli --password ABCD-EFGH-IJKL-MNOP
- Debugging Level
-
Value | Level |
---|
0 | Off (default) |
3 | High |
4 | Verbose |
- High level is the usual level used for investigation. Verbose level is useful too, but can get too noisy and create much bigger log files.
- Run the following command to enable the debugging mode and set the correct level:
- ./b9cli --debuglevel 3
- ./b9cli --debuglevel 4 (only if specifically requested by Support)
- When reproducing the issue is complete, turn off the debugging mode. Leaving it on will cause the agent to be too busy and create large log files that could use a lot of disk space. To turn it off, run this command:
- ./b9cli --debuglevel 0
Additional Notes
If you receive "Access denied" message when running the command here, please run the "./b9cli --password <CLI or Global password" again to elevate your permission.