Install the Tracing component of the Web Server role through Server Manager.
It's in the Web Server (IIS) -> Health and Diagnostics area on all IIS versions from 7 up.
(By the way: Whenever you add a component to IIS, you need to restart the IIS Manager GUI, to reload the UI modules. This doesn't apply to most other changes, because they happen "live" - it's just the user interface module list which is cached at startup.)
Failed Request Tracing then shows up in the Actions Pane at the Site level, and needs to be enabled there before rules will fire.
Then, you configure your Failed Request Tracing rules at any level within that site to capture what you want.
Install the Tracing component of the Web Server role through Server Manager.
It's in the Web Server (IIS) -> Health and Diagnostics area on all IIS versions from 7 up.
(By the way: Whenever you add a component to IIS, you need to restart the IIS Manager GUI, to reload the UI modules. This doesn't apply to most other changes, because they happen "live" - it's just the user interface module list which is cached at startup.)
Failed Request Tracing then shows up in the Actions Pane at the Site level, and needs to be enabled there before rules will fire.
Then, you configure your Failed Request Tracing rules at any level within that site to capture what you want.
(FREB rocks!) (Failed REquest Buffering)