How to enable debug logging for Credential Provider (CP) and Central Credential Provider (CCP) without a service restart

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
PAM Self-Hosted Articles
4 min read
L4 Transporter
No ratings

Steps

Windows

Enabling Debug Logging on Windows:


1. Log in to the CP/CCP server and navigate to the install directory of the CP/CCP instance. This is typically C:\Program Files\CyberArk\ApplicationPasswordProvider on Windows.

2. Open Command Prompt (CMD) as Administrator to the CP/CCP install directory, and use this command to verify if debugging is already enabled:

C:\Program Files\CyberArk\ApplicationPasswordProvider> appprvmgr showparms


If you do not see the debug parameters, continue to Step 3. If you do see them, debugging is already enabled.


3. Create a copy of the main_appprovider.conf.XXX.XX.XX file and append the Provider User name that was used to create the CP/CCP instance. The Provider User name can be found in the first few lines of the \Program Files\CyberArk\ApplicationPasswordProvider\Logs\APPconsole.log file.

For Example: Copy the main_appprovider.conf.Win64.11.02 file and rename the copy to main_appprovider.conf.Win64.11.02.Prov_AMPM-C21713458.
    
    
4. Open the main_appprovider.conf.XXX.XX.XX.PROV_USER file and delete ALL parameters except the parameters under the [Debug] section. Remove all hashtags (#) before the debug parameters. For example:

[Debug]
CacheDebugLevels=0,1,2
AppProviderDebugLevels=0,1,2,3,4,5
ProtocolDebugLevels=0,1,2


5. Save the file.

6. Open Command Prompt (CMD) as Administrator to the CP/CCP install directory, and use the following command to refresh the parameters:

C:\Program Files\CyberArk\ApplicationPasswordProvider> appprvmgr refreshparms

Operation ended successfully


7. Confirm that debugging was enabled successfully. You should see the values of the debug parameters set previously in the output of this command:

C:\Program Files\CyberArk\ApplicationPasswordProvider> appprvmgr showparms

Operation ended successfully
...
[Debug]
CacheDebugLevels=0,1,2
AppProviderDebugLevels=0,1,2,3,4,5
ProtocolDebugLevels=0,1,2
...


Disabling Debug Logging on Windows:


1. Log in to the CP/CCP server and navigate to the install directory of the CP/CCP instance. This is typically C:\Program Files\CyberArk\ApplicationPasswordProvider on Windows.

2. Either rename the main_appprovider.conf.XXX.XX.XX.PROV_USER file to main_appprovider.conf.XXX.XX.XX.PROV_USER.disabled or remove the file entirely.

3. Open Command Prompt(CMD) as Administrator to the CP/CCP install directory, and use the following command to refresh the parameters:

C:\Program Files\CyberArk\ApplicationPasswordProvider> appprvmgr refreshparms

Operation ended successfully


4. Confirm that debugging was disabled successfully. You should no longer see the values of the debug parameters in the output of this command:

C:\Program Files\CyberArk\ApplicationPasswordProvider> appprvmgr showparms

Operation ended successfully
...

 

Unix

Enabling Debug Logging on Unix:


1. Log in to the CP/CCP server and navigate to the configuration directory of the CP/CCP instance. This is typically /etc/opt/CARKaim/conf on Unix.

2. Use this command to verify if debugging is already enabled:

/opt/CARKaim/bin/appprvmgr showparms


If you do not see the debug parameters, continue to Step 3. If you do see them, debugging is already enabled.


3. Create a copy of the main_appprovider.conf.XX.XX file and append the Provider User name that was used to create the CP/CCP instance. The Provider User name can be found in the first few lines of the /var/opt/CARKaim/logs/APPconsole.log file.

For Example: Copy the main_appprovider.conf.11.02 file and rename the copy to main_appprovider.conf.11.02.Prov_AMPM-C21713458.
    
    
4. Open the main_appprovider.conf.XX.XX.PROV_USER file and delete ALL parameters except the parameters under the [Debug] section. Remove all hashtags (#) before the debug parameters. For example:

[Debug]
CacheDebugLevels=0,1,2
AppProviderDebugLevels=0,1,2,3,4,5
ProtocolDebugLevels=0,1,2


5. Save the file.

6. Use this command to refresh the parameters:

/opt/CARKaim/bin/appprvmgr refreshparms

Operation ended successfully


7. Confirm that debugging was enabled successfully. You should see the values of the debug parameters set previously in the output of this command:

/opt/CARKaim/bin/appprvmgr showparms

Operation ended successfully
...
[Debug]
CacheDebugLevels=0,1,2
AppProviderDebugLevels=0,1,2,3,4,5
ProtocolDebugLevels=0,1,2
...


Disabling Debug Logging on Unix:


1. Log in to the CP/CCP server and navigate to the configuration directory of the CP/CCP instance. This is typically /etc/opt/CARKaim/conf on Unix.

2. Either rename the main_appprovider.conf.XX.XX.PROV_USER file to main_appprovider.conf.XX.XX.PROV_USER.disabled or remove the file entirely.

3. Use this command to refresh the parameters:

/opt/CARKaim/bin/appprvmgr refreshparms

Operation ended successfully


4. Confirm that debugging was disabled successfully. You should no longer see the values of the debug parameters in the output of this command:

/opt/CARKaim/bin/appprvmgr showparms

Operation ended successfully
...

 

Rate this article:
  • 282 Views
  • 0 comments
  • 0 Likes
Article Dashboard
Version history
Last Updated:
‎11-05-2026 11:44 AM
Updated by: