I’m using Response.AppendToLog to log custom information to IIS Logs under the cs-uri-query field. The logging is working fine on IIS6 but doesn’t do anything on IIS7. Do I need to do anything more to get it to work on IIS7?
I’m using Response.AppendToLog to log custom information to IIS Logs under the cs-uri-query field.
Share
The problem was due to incorrect configuration in Web Config for IIS7. Moving the httpmodule section from system.web to system.webserver solved the logging issue.