Open Closed

How to write log on IIS for serilog #8615


User avatar
0
alper created
Support Team Director

My application runs on IIS. How to enable file logging on IIS?


1 Answer(s)
  • User Avatar
    0
    alper created
    Support Team Director

    To enable file system logging on IIS, you need to grant write permission to the application folder.

    Alternatively, you can run the following command:

    ICACLS C:\inetpub\wwwroot\mywebapp /grant "IIS AppPool\DefaultAppPool":F
    

    Note: After applying this change, you need to restart the IIS application pool.

Made with ❤️ on ABP v9.2.0-preview. Updated on January 20, 2025, 07:44