How to configure notice on log failures - IIS10 RRS feed

  • Question

  • User-2110467856 posted


    Is there a means to have IIS10 Server 16 Core box send an alert if/when it cannot write logs or otherwise has log trouble?  Is there an event ID know to correlate with logging failure?


    Wednesday, June 28, 2017 8:47 PM

All replies

  • User-460007017 posted

    Hi YourPublic1dentity,

    Maybe you could use a powershell script to compare the disk usage in a period of time. If the log folder stop working , the disk usage of C:\inetpub\logs folder won't change any more.

    In event viewer there is none such kind of function to alert user, the event viewer do not have classic event ID for IIS log.

    So the powershell script maybe the only way to achieve this. Maybe any other third-party tool could do this as well.

    Best Regards,

    Yuk Ding

    Thursday, June 29, 2017 7:48 AM