How to enable logging in the Subscription Manager

How Can We Help?

< Back

Problem:

There might be scenarios where we need to enable logging to check error details in the Subscription Manager.

Solution:

Step 1: Take a backup of web.config file located in the subscription manager site root folder.

Step 2: Comment the “xmpro” section line in web.config file:

<!--<section name="xmpro" type="XMPro.Configuration.Configuration, XMPro.Configuration"/>-->

Step 3: The “xmpro” section in web.config file in XMPro Subscription Manager is encoded. First, we need to decode the “xmpro” section in the web.config file. We can decode a section in web.config file by following the steps from the documentation on “Encrypting and Decrypting Configuration Sections

For example, we need to run the following command from the command prompt:

aspnet_regiis -pd "xmpro" -app "/xmidentity"

From the example above, “/xmidentity” is the Subscription Manager website name in IIS.

Step 4: Once the web.config file is decoded, we can enable logging by adding enableLogging=”true” to server element.

Now the Subscription Manager will generate a log.txt file into the Subscription Manager site root folder.

 

 

 

Comments are closed.

This is the legacy version of the XMPro Documentation site. For the latest XMPro documentation, please visit documentation.xmpro.com

X