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.

Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.2.0-preview. Updated on January 09, 2026, 07:22
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.