Introduction
...
In the first step you have to create a new folder, where you want to safe your log files. Choose it where ever you want. Give this folder a name which makes sense. In this case we created a new folder on the drive “D:\” an named it “itsense”. In this folder you have to create another one which is named exactly like this: logs.
Step 2 - Change the configuration of the web.config file
...
Change the path for the log file at “ stdoutLogFile=”.\logs\stdout” /> “
Code Block | ||
---|---|---|
| ||
<?xml version="1.0" encoding="utf-8"?> <configuration> <location path="." inheritInChildApplications="false"> <system.webServer> <handlers> <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" /> </handlers> <aspNetCore processPath="dotnet" arguments=".\iTsense.Moving.SelfService.dll" stdoutLogEnabled="true" stdoutLogFile=".\logs\stdout" hostingModel="inprocess" /> </system.webServer> </location> </configuration> |
...