Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Introduction

...

Step 1 - Create new folders

In the first step you have to For this example, create a new folder , where in any path you want to safe your log-files. Choose it where ever . You can name the folder as 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: AuthenticationService_900000. Now you have to create another new folder in the AuthenticationService_900000 folder, this one you must Create a subfolder in the just created folder, which you name AuthenticationService_900000. Create again a subfolder in AuthenticationService_900000, which you name logs.

Step 2 - Change the configuration of the web.config file

Open the Server, where the CoreOne Suite Authentication Service is running on. Navigate to the path: C:\ProgramData\itsense\AuthenticationService_900000. Now open the "Web.config" file in Notepad, Notepad++ or an other text edit program. In this file you have to change the path for the log files. The new path must be exactly the same as you created in step one.

Change the path for the log file at “ stdoutLogFile=”.\logs\stdout” />

Code Block
languagenone
<?xml version="1.0" encoding="utf-8"?>
<configuration>
    <location path="." inheritInChildApplications="false">
        <system.webServer>
            <handlers>
                <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified"/>
            </handlers>
            <aspNetCore processPath="dotnet" arguments='"C:\Program Files\ITSENSE AG\Authentication service\Server\iTsense.CoreLogin2.Server.dll" -db moving_appcustomer_900000 -appCustomer 900000' stdoutLogEnabled="true" stdoutLogFile=".\logs\stdout" />
        </system.webServer >
    </location>
</configuration>

...