Logging the PharosAPI at Debug Level instead of only errors.
- 18 Mar 2024
- 1 Minute to read
- Print
- DarkLight
- PDF
Logging the PharosAPI at Debug Level instead of only errors.
- Updated on 18 Mar 2024
- 1 Minute to read
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
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
Open the PharosSystems.API.config file in notepad with administrator privileges.
Locate each of the following lines, there are several of them.
<LogLevel>Error</LogLevel>
Replace it with the below change.
<LogLevel>Debug</LogLevel>
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?