API - Elevating NLog

Information

The following steps can be used to help provide more feedback when encountering API problems such as "Authorization Failure" on API procedures or within the Swagger UI.  Your site must be on a minimum version of Issuetrak 11.4.1 in order for these steps to be effective. 

Steps

  1. On your site's Web server navigate to your site's web folder, then navigate to its \API\App_Data folder. 
  2. Right-click the Logs folder, choose Properties, then click the Security tab.
  3. Verify that the IIS_IUSRS account (or the account that Issuetrak's API App Pool is running as) has Modify permission to this folder.  Add this permission to the account if it is not present. 
  4. Edit the NLog.Release.config file.
  5. Do a CTRL-F and search for the string:  enabled="false"
  6. Change the string so that it reads:  enabled="true"
  7. Save and close the file. 
  8. Open IIS and then restart the Issuetrak API Pool
  9. Attempt an API operation, then check the API\App_Data\Logs folder for a newly-generated log file.