Debug IdentityServer
Configure a Log File
Starting with version 1.1 you can configure a log file for IdentityServer.
Open web.config in your application folder and specify a log file:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.webServer>
...
<aspNetCore ... >
<environmentVariables>
<environmentVariable name="IdentityServerLogPath" value="C:\temp\IdentityServer.log" />
</environmentVariables>
</aspNetCore>
</system.webServer>
</configuration>