I am trying to get IIS 7 application pool recycle, start, stop, etc. events to be logged to the Windows Event Log. I followed the steps outlined in this article but didn't have any success. I restarted the application pool and nothing was logged in the Event Log. (I checked both the "Application" and "System" logs.) But when I do an IIS reset that gets logged.
相关问题
- I want to trace logs using a Macro multi parameter
- Error message 'No handlers could be found for
- How to make a .svc file write to asp.net Trace.axd
- convert logback.xml to log4j.properties
- How to deploy python flask application in conda ba
For IIS 7, IIS Manager can be used to enable recycle events to be logged in the Windows Event Log:
The available recycle events that can be logged are:
This article made it clear why events were not registered in event log:
http://blogs.msdn.com/b/david.wang/archive/2006/02/28/why-iis6-application-pool-recycle-events-are-not-logged.aspx