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.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on April 16, 2025, 12:13