1. Set Required Permissions for the App_Data folder where logs will be stored

    Open the IIS Manager ->  Application Pools section, and find the application pool used by your site (for example: WOLPORTAL). 
    This is usually the same name as your Site.
    Note the name of the application pool.

   1.  Open File Explorer and navigate to the application’s root directory. 
        If the folder is named WOLPORTAL, it is usually located at `C:\inetpub\wwwroot\WOLPORTAL`.  

   2.  Find the "App_Data" sub-folder (for example: `C:\inetpub\wwwroot\WOLPORTAL\App_Data`).

   3.  Right-click the App_Data folder and select Properties

   4.  Open the Security tab.

   5.  Click Edit...

   6.  Click Add...

   7.  ! IMPORTANT ! : Click Locations... and select your local computer (should be the very top entry)

   8.  In the "Enter the object enter: IIS APPPOOL\WOLPORTAL (replace WOLPORTAL with the name of your application pool if different) and click Check Names.
   8a. If the above account is unavailable, select IIS_IUSRS instead and grant it **Modify** (Modify, Read, Write, etc.) permissions
   8b. Only for testing purposes, you can also grant permissions to "Everyone", but this is not recommended for production environments.

   9.  Click Save 

   10. Back in the permissions dialog select Full Control (or at least LIST, READ, WRITE, MODIFY) for the newly added user and click OK to apply the changes.



2. Enable logging in Web.config

   1. Open the Web.config file (with administrator rights) in your application’s root directory, e.g. `C:\inetpub\wwwroot\WOLPORTAL\Web.config`.
   2. Search for "EnableEvpDebugLogger" and set it's value  to `True`, which should look like this:
      
      <setting name="EnableEvpDebugLogger" serializeAs="String">
        <value>True</value>
      </setting>
   
