有什么办法可以在IIS 6的日志中记录HTTP Header的任意信息,或者写一个ISAPI程序也行,但希望最好能够将想记录的HTTP header信息记录加到IIS的日志中而不是单独记录日志文件
有人做过没有?提供点经验?

解决方案 »

  1.   

    seeCustomizing IIS Logging
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/iissdk/html/2e1ea344-d4d9-49e8-84f4-b96cbbe41f48.asp
    but try the following first1. open your Internet Services Manager2. open the properties page for your web site3. go to "Web Site" tab, click on "Properties" button for the logging 4. go to Advanced tab, select anything you want
    if you are still not satisfied, seehttp://www.iisfaq.com/Default.aspx?tabid=3193http://www.codeproject.com/isapi/