Enable IIS detailed startup diagnostics
This commit is contained in:
@@ -1573,6 +1573,7 @@ Geaendert:
|
||||
|
||||
- `web.config` fuer IIS auf `hostingModel="outofprocess"` umgestellt.
|
||||
- `stdoutLogEnabled="true"` bleibt aktiv, Logziel bleibt `.\logs\stdout`.
|
||||
- `ASPNETCORE_DETAILEDERRORS=true` fuer die temporaere IIS-Fehlerdiagnose gesetzt.
|
||||
- Ziel: Wenn IIS/ASP.NET Core vor dem App-Start scheitert, sollen eher verwertbare Startlogs entstehen; ausserdem wird die App nicht mehr direkt im IIS Worker-Prozess gehostet.
|
||||
|
||||
Aktueller Stand:
|
||||
|
||||
@@ -10,7 +10,11 @@
|
||||
arguments=".\BiDashboard.dll"
|
||||
stdoutLogEnabled="true"
|
||||
stdoutLogFile=".\logs\stdout"
|
||||
hostingModel="outofprocess" />
|
||||
hostingModel="outofprocess">
|
||||
<environmentVariables>
|
||||
<environmentVariable name="ASPNETCORE_DETAILEDERRORS" value="true" />
|
||||
</environmentVariables>
|
||||
</aspNetCore>
|
||||
</system.webServer>
|
||||
</location>
|
||||
</configuration>
|
||||
|
||||
Reference in New Issue
Block a user