开发者

Elmah for logging successful web requests

开发者 https://www.devze.com 2023-01-21 05:23 出处:网络
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. Anyo

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

精彩评论

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