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\Release\net8.0\Logging\logs\powerserver.log. The PowerServer solution > UserExtensions project > Logging > log4net.xml file controls which folder under \bin\Release\net8.0\ to save the log files 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" />