Logging the PharosAPI at Debug Level instead of only errors.
  • 18 Mar 2024
  • 1 Minute to read
  • Dark
    Light
  • PDF

Logging the PharosAPI at Debug Level instead of only errors.

  • Dark
    Light
  • PDF

Article summary

How do I enable Debug level logging for the Pharos API (PharosAPI)?


If you wish to see enable additional debug logging for the Pharos API component you will need to edit its configuration file called "PharosSystems.API.config". This file is located in the directory below.

C:\inetpub\wwwroot\PharosAPI

  1. Open the PharosSystems.API.config file in notepad with administrator privileges.

  2. Locate each of the following lines, there are several of them.

    <LogLevel>Error</LogLevel>

  3. Replace it with the below change.

    <LogLevel>Debug</LogLevel>

  4. Save the file, the change will be taken immediately as the PharosAPAI will update its configuration as it can detect when you save the file.


Was this article helpful?


Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.