运行HTTPModule是否会阻止IIS日志记录? [英] Does running a HTTPModule prevent IIS Logging?

查看:134
本文介绍了运行HTTPModule是否会阻止IIS日志记录?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在使用自定义HTTPModule运行网站来执行一些URL路由。

We are running a site using a custom HTTPModule to do some URL Routing.

问题是IIS没有记录此网站流量。

The problem is this sites traffic is not being logged by IIS.

似乎所有内容都设置正确,并且同一服务器上的其他站点正在记录。但此站点的日志文件夹仍为空。 (甚至没有创建W3SVC ...文件夹!)

Everything appears to be set up correctly, and other sites on the same server are logging. But the log folder for this site remains empty. (not even the W3SVC... folder is being created!)

这与我们运行HTTPModule有关,还是导致问题的原因。我找不到任何说它会停止记录的东西,或任何说不会记录的东西。

Is this related to us running a HTTPModule, or is something else causing the problem. I can't find anything that says it would stop logging, or anything that says it won't.

推荐答案

总之一句话不,不。你还有别的事可笑。您是否确定已启用日志记录并且您正在查看正确的路径?

In a word, no. You've got something else funny going on. Are you absolutely sure logging is enabled and you are looking at the correct path?

这篇关于运行HTTPModule是否会阻止IIS日志记录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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