我正在尝试将 IIS 7 应用程序池回收、启动、停止等事件记录到 Windows 事件日志中。我按照本文中概述的步骤进行操作,但没有取得任何成功。我重新启动了应用程序池,事件日志中没有记录任何内容。 (我检查了“应用程序”和“系统”日志。)但是当我执行 IIS 重置时,会记录下来。
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.
发布评论
评论(2)
对于 IIS 7,IIS 管理器可用于启用在 Windows 事件日志中记录回收事件:
可记录的可用回收事件有:
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:
本文清楚地说明了事件日志中未注册事件的原因:
http://blogs.msdn.com/b/david.wang/archive/2006/02/28/why-iis6-application-pool-recycle-events-are-not-logged.aspx< /a>
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