使IIS应用程序池回收事件记录在Windows事件日志中 [英] Getting IIS application pool recycle events to be logged in the Windows Event Log

查看:2343
本文介绍了使IIS应用程序池回收事件记录在Windows事件日志中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将 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.

推荐答案

本文明确说明事件日志中未注册事件的原因:

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

这篇关于使IIS应用程序池回收事件记录在Windows事件日志中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆