Log4net logging

The PowerServer Web APIs adopts the Log4net logging framework for logging. The PowerServer log files are stored in the Web API bin folder (make sure you have permissions to write into the folder), for example, \ServerAPIs\bin\Debug\netcoreapp3.1\log. The ServerAPIs project > Logging > log4net.config file controls which folder under \bin\Debug\netcoreapp3.1\log to save the log files in and the log file name. For example:

<file value="Logging/logs/powerserver.log" />
//The log file will be rolled based on a size constraint (maximumFileSize)
<maximumFileSize value="100KB" />