Elmah for logging successful web requests
-
25-09-2019 - |
문제
I really like elmah for logging errors but how about 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.
제휴하지 않습니다 StackOverflow