<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article Enable Debugging and Gather Logs - Central Credential Provider in Secrets Management Articles</title>
    <link>https://live.paloaltonetworks.com/t5/secrets-management-articles/enable-debugging-and-gather-logs-central-credential-provider/ta-p/1429823</link>
    <description>&lt;H3&gt;Question&lt;/H3&gt;
How do I enable debugging and gather logs for the Central Credential Provider?

&lt;H3&gt;Answer&lt;/H3&gt;
&lt;P&gt;The procedure associated with raising debug levels for logging&amp;nbsp; for CCP ( Central Credential Provider)&amp;nbsp; consists of two parts, as below:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i. Enable debug&amp;nbsp; for CP&lt;/P&gt;
&lt;P&gt;ii. Enable debug&amp;nbsp; locally on the CCP server&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Details for each part can be found as below -&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i. &lt;STRONG&gt;Enable debug for CP&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="text-align: left;padding-left: 40px;"&gt;a. For&amp;nbsp; 'Privileged Cloud' aka pcloud deployments, use below linked KBA to perform this step - &lt;A href="https://community.cyberark.com/s/article/Configure-Debugging-for-Privilege-Cloud-Connected-Credential-Providers" target="_blank"&gt;https://community.cyberark.com/s/article/Configure-Debugging-for-Privilege-Cloud-Connected-Credential-Providers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="text-align: left;padding-left: 40px;"&gt;b. For Self-Hosted Vault deployments please do the following -&amp;nbsp;&lt;/P&gt;
&lt;P style="text-align: left;padding-left: 80px;"&gt;Use the 'PrivateArk Client' to open the 'AppProviderConf' safe and create a copy of the "main_appprovider.conf.[Platform].[Version]" stored in the root folder and call it _debug.&lt;BR /&gt;&lt;EM&gt;For example&lt;/EM&gt;,&lt;EM&gt; if you're using a Windows 9.7 provider, you would copy "main_appprovider.conf.Win64.9.70" to&amp;nbsp;"main_appprovider_debug.conf.Win64.9.70".&lt;/EM&gt;&lt;BR /&gt;Open this new file and uncomment/set the following debug parameters:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;[Debug]&amp;nbsp;&lt;BR /&gt;CacheDebugLevels=0,1,2&amp;nbsp;&lt;BR /&gt;AppProviderDebugLevels=0,1,2,3,4,5&amp;nbsp;&lt;BR /&gt;ProtocolDebugLevels=0,1,2&amp;nbsp;&lt;/P&gt;
&lt;P style="text-align: left;"&gt;ii. &lt;STRONG&gt;Enable debug locally on the CCP server&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="text-align: left;padding-left: 40px;"&gt;1. Edit the local 'basic_appprovider.conf' configuration file&lt;/P&gt;
&lt;P style="text-align: left;padding-left: 40px;"&gt;("C:\Program Files\CyberArk\ApplicationPasswordProvider\basic_appprovider.conf" by default) by changing the 'AppProviderVaultParmsFile' parameter in the file, for example: AppProviderVaultParmsFile=main_appprovider_debug.conf.Win64.9.70&lt;/P&gt;
&lt;P style="text-align: left;padding-left: 40px;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="padding-left: 40px;"&gt;2. Enable debug for 'AIMWebService'&lt;/P&gt;
&lt;P style="padding-left: 80px;"&gt;a.&amp;nbsp;&lt;STRONG&gt;For version 12.6 and later, please refer to documentation: &lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="padding-left: 80px;"&gt;&lt;A href="https://docs.cyberark.com/credential-providers/Latest/en/Content/CCP/Configure_CCPWindows.htm" target="_blank"&gt;https://docs.cyberark.com/credential-providers/Latest/en/Content/CCP/Configure_CCPWindows.htm&lt;/A&gt;&lt;/P&gt;
&lt;P style="padding-left: 80px;"&gt;In C:\inetpub\wwwroot\AIMWebService\web.config, find the following section&amp;nbsp;&lt;/P&gt;
&lt;PRE style="padding-left: 80px;"&gt;&lt;CODE&gt;&amp;lt;log4net&amp;gt;
      ....
        &amp;lt;root&amp;gt;
            &amp;lt;level value="INFO"/&amp;gt;
            &amp;lt;appender-ref ref="RollingLogFileAppender"/&amp;gt;
        &amp;lt;/root&amp;gt;
&amp;lt;/log4net&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P style="padding-left: 80px;"&gt;Change the value "INFO" to "ALL".&lt;BR /&gt;&lt;BR /&gt;b. &lt;STRONG&gt;For version 12.4 and earlier, follow the steps below:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="padding-left: 80px;"&gt;Open the file C:\inetpub\wwwroot\AIMWebService\web.config&amp;nbsp;&lt;BR /&gt;Find the line:&amp;nbsp; &amp;lt;add name="AIMWebServiceTrace" value="0"/&amp;gt;&amp;nbsp;&lt;BR /&gt;Set Value to 4 (verbose).&lt;/P&gt;
&lt;P style="padding-left: 40px;"&gt;&lt;BR /&gt;Ensure the "logs" folder is created and has the appropriate permissions.&amp;nbsp;This is a manual step that may have already been done on your install.&amp;nbsp;Go to C:\inetpub\wwwroot\AIMWebService and create a new folder, called "logs"&amp;nbsp; .Right click the logs folder → Properties → Security → Edit&amp;nbsp;&lt;BR /&gt;There should already be an inherited permission for the IIS_IUSRS group (name may be different depending on your app pool setup).&amp;nbsp;&lt;BR /&gt;Check the boxes for Allow Modify and Allow Write for IIS_IUSRS.&amp;nbsp;&lt;/P&gt;
&lt;P style="padding-left: 40px;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="padding-left: 40px;"&gt;&lt;STRONG&gt;IMPORTANT&lt;/STRONG&gt;:&amp;nbsp; To make the configuration changes take effect do the following -&amp;nbsp;&lt;/P&gt;
&lt;P style="padding-left: 40px;"&gt;** Restart the 'Idira Application Password Provider' Service.&lt;BR /&gt;** From an elevated command prompt, run "iisreset".&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Log Collection&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Rerun the web call that failed, and then please upload the following to the case:&lt;BR /&gt;&lt;BR /&gt;a. &lt;EM&gt;'Credential Provider' logs&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;\Program Files\CyberArk\ApplicationPasswordProvider\Logs:&lt;BR /&gt;APPconsole.log&lt;BR /&gt;APPtrace.log&lt;BR /&gt;APPaudit.log&lt;BR /&gt;&lt;BR /&gt;b. &lt;EM&gt;AIMWebService Logs&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;\inetpub\wwwroot\AIMWebService\logs\AIMWSTrace.log&lt;BR /&gt;&lt;BR /&gt;c. &lt;EM&gt;IIS logs&lt;/EM&gt;&lt;BR /&gt;\inetpub\logs\LogFiles\W3SVC1' on CCP server(s)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;d. &lt;EM&gt;Install Logs&lt;/EM&gt; ( if the troubleshooting is related to Installation process)&lt;/P&gt;
&lt;P&gt;In the %TEMP% directory, there will be at least one folder that's a few random characters and then ".tmp", for example "VSDDA1F.tmp". In that directory should be an install.log for the CCP install.&amp;nbsp;Example:&amp;nbsp;C:\Users\&amp;lt;username&amp;gt;\AppData\Local\Temp\VSD51C7.tmp&lt;/P&gt;</description>
    <pubDate>Thu, 05 Nov 2026 19:45:45 GMT</pubDate>
    <dc:creator>CyberArkAlumni</dc:creator>
    <dc:date>2026-11-05T19:45:45Z</dc:date>
    <item>
      <title>Enable Debugging and Gather Logs - Central Credential Provider</title>
      <link>https://live.paloaltonetworks.com/t5/secrets-management-articles/enable-debugging-and-gather-logs-central-credential-provider/ta-p/1429823</link>
      <description>&lt;H3&gt;Question&lt;/H3&gt;
How do I enable debugging and gather logs for the Central Credential Provider?

&lt;H3&gt;Answer&lt;/H3&gt;
&lt;P&gt;The procedure associated with raising debug levels for logging&amp;nbsp; for CCP ( Central Credential Provider)&amp;nbsp; consists of two parts, as below:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i. Enable debug&amp;nbsp; for CP&lt;/P&gt;
&lt;P&gt;ii. Enable debug&amp;nbsp; locally on the CCP server&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Details for each part can be found as below -&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i. &lt;STRONG&gt;Enable debug for CP&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="text-align: left;padding-left: 40px;"&gt;a. For&amp;nbsp; 'Privileged Cloud' aka pcloud deployments, use below linked KBA to perform this step - &lt;A href="https://community.cyberark.com/s/article/Configure-Debugging-for-Privilege-Cloud-Connected-Credential-Providers" target="_blank"&gt;https://community.cyberark.com/s/article/Configure-Debugging-for-Privilege-Cloud-Connected-Credential-Providers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="text-align: left;padding-left: 40px;"&gt;b. For Self-Hosted Vault deployments please do the following -&amp;nbsp;&lt;/P&gt;
&lt;P style="text-align: left;padding-left: 80px;"&gt;Use the 'PrivateArk Client' to open the 'AppProviderConf' safe and create a copy of the "main_appprovider.conf.[Platform].[Version]" stored in the root folder and call it _debug.&lt;BR /&gt;&lt;EM&gt;For example&lt;/EM&gt;,&lt;EM&gt; if you're using a Windows 9.7 provider, you would copy "main_appprovider.conf.Win64.9.70" to&amp;nbsp;"main_appprovider_debug.conf.Win64.9.70".&lt;/EM&gt;&lt;BR /&gt;Open this new file and uncomment/set the following debug parameters:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;[Debug]&amp;nbsp;&lt;BR /&gt;CacheDebugLevels=0,1,2&amp;nbsp;&lt;BR /&gt;AppProviderDebugLevels=0,1,2,3,4,5&amp;nbsp;&lt;BR /&gt;ProtocolDebugLevels=0,1,2&amp;nbsp;&lt;/P&gt;
&lt;P style="text-align: left;"&gt;ii. &lt;STRONG&gt;Enable debug locally on the CCP server&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="text-align: left;padding-left: 40px;"&gt;1. Edit the local 'basic_appprovider.conf' configuration file&lt;/P&gt;
&lt;P style="text-align: left;padding-left: 40px;"&gt;("C:\Program Files\CyberArk\ApplicationPasswordProvider\basic_appprovider.conf" by default) by changing the 'AppProviderVaultParmsFile' parameter in the file, for example: AppProviderVaultParmsFile=main_appprovider_debug.conf.Win64.9.70&lt;/P&gt;
&lt;P style="text-align: left;padding-left: 40px;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="padding-left: 40px;"&gt;2. Enable debug for 'AIMWebService'&lt;/P&gt;
&lt;P style="padding-left: 80px;"&gt;a.&amp;nbsp;&lt;STRONG&gt;For version 12.6 and later, please refer to documentation: &lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="padding-left: 80px;"&gt;&lt;A href="https://docs.cyberark.com/credential-providers/Latest/en/Content/CCP/Configure_CCPWindows.htm" target="_blank"&gt;https://docs.cyberark.com/credential-providers/Latest/en/Content/CCP/Configure_CCPWindows.htm&lt;/A&gt;&lt;/P&gt;
&lt;P style="padding-left: 80px;"&gt;In C:\inetpub\wwwroot\AIMWebService\web.config, find the following section&amp;nbsp;&lt;/P&gt;
&lt;PRE style="padding-left: 80px;"&gt;&lt;CODE&gt;&amp;lt;log4net&amp;gt;
      ....
        &amp;lt;root&amp;gt;
            &amp;lt;level value="INFO"/&amp;gt;
            &amp;lt;appender-ref ref="RollingLogFileAppender"/&amp;gt;
        &amp;lt;/root&amp;gt;
&amp;lt;/log4net&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P style="padding-left: 80px;"&gt;Change the value "INFO" to "ALL".&lt;BR /&gt;&lt;BR /&gt;b. &lt;STRONG&gt;For version 12.4 and earlier, follow the steps below:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="padding-left: 80px;"&gt;Open the file C:\inetpub\wwwroot\AIMWebService\web.config&amp;nbsp;&lt;BR /&gt;Find the line:&amp;nbsp; &amp;lt;add name="AIMWebServiceTrace" value="0"/&amp;gt;&amp;nbsp;&lt;BR /&gt;Set Value to 4 (verbose).&lt;/P&gt;
&lt;P style="padding-left: 40px;"&gt;&lt;BR /&gt;Ensure the "logs" folder is created and has the appropriate permissions.&amp;nbsp;This is a manual step that may have already been done on your install.&amp;nbsp;Go to C:\inetpub\wwwroot\AIMWebService and create a new folder, called "logs"&amp;nbsp; .Right click the logs folder → Properties → Security → Edit&amp;nbsp;&lt;BR /&gt;There should already be an inherited permission for the IIS_IUSRS group (name may be different depending on your app pool setup).&amp;nbsp;&lt;BR /&gt;Check the boxes for Allow Modify and Allow Write for IIS_IUSRS.&amp;nbsp;&lt;/P&gt;
&lt;P style="padding-left: 40px;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="padding-left: 40px;"&gt;&lt;STRONG&gt;IMPORTANT&lt;/STRONG&gt;:&amp;nbsp; To make the configuration changes take effect do the following -&amp;nbsp;&lt;/P&gt;
&lt;P style="padding-left: 40px;"&gt;** Restart the 'Idira Application Password Provider' Service.&lt;BR /&gt;** From an elevated command prompt, run "iisreset".&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Log Collection&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Rerun the web call that failed, and then please upload the following to the case:&lt;BR /&gt;&lt;BR /&gt;a. &lt;EM&gt;'Credential Provider' logs&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;\Program Files\CyberArk\ApplicationPasswordProvider\Logs:&lt;BR /&gt;APPconsole.log&lt;BR /&gt;APPtrace.log&lt;BR /&gt;APPaudit.log&lt;BR /&gt;&lt;BR /&gt;b. &lt;EM&gt;AIMWebService Logs&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;\inetpub\wwwroot\AIMWebService\logs\AIMWSTrace.log&lt;BR /&gt;&lt;BR /&gt;c. &lt;EM&gt;IIS logs&lt;/EM&gt;&lt;BR /&gt;\inetpub\logs\LogFiles\W3SVC1' on CCP server(s)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;d. &lt;EM&gt;Install Logs&lt;/EM&gt; ( if the troubleshooting is related to Installation process)&lt;/P&gt;
&lt;P&gt;In the %TEMP% directory, there will be at least one folder that's a few random characters and then ".tmp", for example "VSDDA1F.tmp". In that directory should be an install.log for the CCP install.&amp;nbsp;Example:&amp;nbsp;C:\Users\&amp;lt;username&amp;gt;\AppData\Local\Temp\VSD51C7.tmp&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2026 19:45:45 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/secrets-management-articles/enable-debugging-and-gather-logs-central-credential-provider/ta-p/1429823</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2026-11-05T19:45:45Z</dc:date>
    </item>
  </channel>
</rss>

