RESOLUTION
This software update makes these fields available in the Httperr#.log file.
Software update information
A supported software update is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This software update may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Microsoft Windows Server 2003 that contains this software update.
To resolve this problem immediately, contact Microsoft Product Support Services to obtain the software update. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:
Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.
File information
The English version of this software update has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the
Time Zone tab in the Date and Time tool in Control Panel.
Date Time Version Size File name
----------------------------------------------------
02-Feb-2004 22:47 5.2.3790.125 337,408 Http.sys
Implementation information
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.
After you apply this software update, create the following registry key:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\HTTP\Parameters\ErrorLoggingFields (DWORD)
The new value in the registry controls the log fields that Http.sys error logging generates.
By default, this value is the bitwise
ORed value of the bit values of the default fields that are listed in the following table.
If you set the wrong field value, or if you set the field value to zero, or if the registry parameter is not present, the Http.sys parser uses the default fields. The bit value for each log field that is available is listed in the following table. To log all available fields, set the value of the ErrorLoggingFields registry key to 7DFF4E7 (hexadecimal).
To customize the fields that are logged, open the Windows Calculator, view the scientific version of the calculator, and then enter the hexadecimal values in the following table. Use the OR function to combine the values.
Note If you change the error logging configuration, you must restart the Http.sys parser.
Log field
| Default field | Available | Field bit value |
DATE | Yes | Yes | 0x00000001 |
TIME | Yes | Yes | 0x00000002 |
S-SITENAME | No | No | |
S-COMPUTERNAME | No | Yes | 0x00000020 |
C-IP | Yes | Yes | 0x00000004 |
C-PORT | Yes | Yes | 0x00400000 |
S-IP | Yes | Yes | 0x00000040 |
S-PORT | Yes | Yes | 0x00008000 |
CS-USERNAME | No | No | |
CS-VERSION | Yes | Yes | 0x00080000 |
CS-METHOD | Yes | Yes | 0x00000080 |
CS-URI | Yes | Yes | 0x00800000 |
CS-URI-STEM | No | No | |
CS-URI-QUERY | No | No | |
CS(USER-AGENT) | No | Yes | 0x00010000 |
CS(COOKIE) | No | Yes | 0x00020000 |
CS(REFERER) | No | Yes | 0x00040000 |
CS-HOST | No | Yes | 0x00100000 |
SC-STATUS | Yes | Yes | 0x00000400 |
SC-SUBSTATUS | No | No | |
SC-WIN32-STATUS | No | No | |
SC-BYTES | No | Yes | 0x00001000 |
CS-BYTES | No | Yes | 0x00002000 |
TIME-TAKEN | No | Yes | 0x00004000 |
S-SITEID | Yes | Yes | 0x01000000 |
S-REASON | Yes | Yes | 0x02000000 |
S-QUEUENAME | No | Yes | 0x04000000 |
Note This software update also adds W3C header information to the Httperr#.log file.