Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Are there any settings in IIS6 that allow you to log post data? We just noticed that two of our web servers are logging post data.

From everything I have found, you have to use a httpmodule or isapi filter if you want to capture post data in the log file. We do not want this data in our logs.

Here is a sample log entry:

00:29:28 POST /private/createlead/default.aspx company=XXX&contact=XXX%20XXX&title=&Phone=XXX-XXX-XXX&email=XXX@XXX.XXX&address=&city=xxx 443 web_private xxx.xxx.xxx.x Mozilla/4.0+(compatible;+Win32;+WinHttp.WinHttpRequest.5) 200

This particular post is generated from a classic asp page using MSXML2.ServerXMLHTTP.6.0.

Any ideas or thoughts on what could be causing this would be great.

share|improve this question

migrated from stackoverflow.com Oct 8 '11 at 11:24

This question came from our site for professional and enthusiast programmers.

Are you sure it isn't POSTING to the URL with QueryString company=XXX&contact=XXX etc? And not logging the actual POST data? –  StuartLC Oct 7 '11 at 15:24
You are correct. I took a look at the code that is sending the post and it is sending everything on the open method and nothing with the send. –  Wayne Oct 7 '11 at 18:21

1 Answer 1

Are you by chance using some ASP.NET stuff (comes to mind MVC or Web Services). Maybe is some of those the culprit.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.