We are having a problem with IIS Failed Request Tracing, not all websites are generating the XML logs. We have a Windows Server 2016, IIS 10.0 with one default web site and three application pools and applications. The Failed Request Tracing has been set up at the default web site and for each application. The exact problem is one of the sites does not generate a file in the FailedReqLogFiles folder, while the other two do. Without the XML Log we are unable to troubleshoot errors.
Thanks for any ideas!
We have done/checked the following:
- FREB is enabled
- Checked that the log path is correct
- The application pool identity has permissions to write to log path
- Maximum Requesting Entity Body Limit increased to 3000000
The web.config looks like this:
<traceFailedRequests>
<remove path="*" />
<add path="*">
<traceAreas>
<add provider="ASP" verbosity="Verbose" />
<add provider="ISAPI Extension" verbosity="Verbose" />
<add provider="WWW Server" areas="Authentication,Security,Filter,StaticFile,CGI,Compression,Cache,RequestNotifications,Module,FastCGI,WebSocket" verbosity="Verbose" />
</traceAreas>
<failureDefinitions timeTaken="00:00:00" statusCodes="401-505" />
</add>
</traceFailedRequests>