开发者

Elmah for logging successful web requests

I really like elmah for logging errors but how about开发者_如何学Python just the opposite? I want to use elmah to log successfull http requests (status code 200) for the purpose of web analytics. Anyone know where in the source code I may be able to do this?


You might like to use this instead of elmah http://stickybeak.codeplex.com/


Why not just use custom logging in IIS 7.0?

I'm thinking that Elmah won't be able to log certain requests (especially if you use something like output caching -- the ASP.NET runtime won't get called at all). If you hook into IIS, you'll be able to get a plethora of information about each request.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜